Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: components/reading_list/reading_list_switches.h

Issue 2514333003: Componentize Reading List (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/reading_list/reading_list_switches.h
diff --git a/components/reading_list/reading_list_switches.h b/components/reading_list/reading_list_switches.h
new file mode 100644
index 0000000000000000000000000000000000000000..b156c5f1acccfb58cf33eee9e16a592c71790240
--- /dev/null
+++ b/components/reading_list/reading_list_switches.h
@@ -0,0 +1,18 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_READING_LIST_READING_LIST_SWITCHED_H_
+#define COMPONENTS_READING_LIST_READING_LIST_SWITCHED_H_
+
+namespace reading_list {
+namespace switches {
+extern const char kEnableReadingList[];
+extern const char kDisableReadingList[];
+
+// Whether Reading List is enabled on this device.
+bool IsReadingListEnabled();
+} // namespace switches
+} // namespace reading_list
+
+#endif // COMPONENTS_READING_LIST_READING_LIST_SWITCHED_H_
« no previous file with comments | « components/reading_list/reading_list_store_unittest.cc ('k') | components/reading_list/reading_list_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698