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

Unified Diff: components/reading_list/reading_list_switches.cc

Issue 2511723002: Enable RL sync by default on iOS (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
« no previous file with comments | « components/reading_list/reading_list_switches.h ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/reading_list/reading_list_switches.cc
diff --git a/components/reading_list/reading_list_switches.cc b/components/reading_list/reading_list_switches.cc
deleted file mode 100644
index f1a44446697de0efbd209c8f9c023ed157579f43..0000000000000000000000000000000000000000
--- a/components/reading_list/reading_list_switches.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// 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.
-
-#include "components/reading_list/reading_list_switches.h"
-
-#include "base/command_line.h"
-
-namespace reading_list {
-namespace switches {
-// Enables the reading list.
-const char kEnableReadingList[] = "enable-reading-list";
-
-// Disables the reading list.
-const char kDisableReadingList[] = "disable-reading-list";
-
-bool IsReadingListEnabled() {
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(kEnableReadingList)) {
- return true;
- }
- return false;
-}
-} // namespace switches
-} // namespace reading_list
« no previous file with comments | « components/reading_list/reading_list_switches.h ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698