user_notes_features.h 603 B

1234567891011121314151617181920
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_USER_NOTES_USER_NOTES_FEATURES_H_
  5. #define COMPONENTS_USER_NOTES_USER_NOTES_FEATURES_H_
  6. #include "base/feature_list.h"
  7. namespace user_notes {
  8. // Feature controlling the User Notes feature on desktop platforms.
  9. extern const base::Feature kUserNotes;
  10. // Returns true if the User Notes feature is enabled.
  11. bool IsUserNotesEnabled();
  12. } // namespace user_notes
  13. #endif // COMPONENTS_USER_NOTES_USER_NOTES_FEATURES_H_