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

Unified Diff: components/reading_list/reading_list_switches.h

Issue 2514333003: Componentize Reading List (Closed)
Patch Set: fix 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..2d19a0c4b09919b13893d23c168a161fd836b221
--- /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();
+}
sdefresne 2016/11/21 14:48:31 } // namespace switches } // namespace reading_l
Olivier 2016/11/21 15:46:40 Done.
+}
+
+#endif // COMPONENTS_READING_LIST_READING_LIST_SWITCHED_H_

Powered by Google App Engine
This is Rietveld 408576698