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

Unified Diff: ios/chrome/browser/about_flags.mm

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
« no previous file with comments | « ios/chrome/browser/DEPS ('k') | ios/chrome/browser/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/about_flags.mm
diff --git a/ios/chrome/browser/about_flags.mm b/ios/chrome/browser/about_flags.mm
index 3b2439f39cb8726b85eb3de13886d50a81a0be5d..59858f6ec6d456822125e128d717e6952c83bf9a 100644
--- a/ios/chrome/browser/about_flags.mm
+++ b/ios/chrome/browser/about_flags.mm
@@ -26,6 +26,7 @@
#include "components/flags_ui/flags_storage.h"
#include "components/flags_ui/flags_ui_switches.h"
#include "components/ntp_tiles/switches.h"
+#include "components/reading_list/reading_list_switches.h"
#include "components/strings/grit/components_strings.h"
#include "components/sync/driver/sync_driver_switches.h"
#include "google_apis/gaia/gaia_switches.h"
@@ -235,9 +236,9 @@ void AppendSwitchesFromExperimentalSettings(base::CommandLine* command_line) {
// Populate command line flags from Reading List.
if ([defaults boolForKey:@"EnableReadingList"]) {
- command_line->AppendSwitch(switches::kEnableReadingList);
+ command_line->AppendSwitch(reading_list::switches::kEnableReadingList);
} else {
- command_line->AppendSwitch(switches::kDisableReadingList);
+ command_line->AppendSwitch(reading_list::switches::kDisableReadingList);
}
// Populate command line flag for Spotlight Actions.
« no previous file with comments | « ios/chrome/browser/DEPS ('k') | ios/chrome/browser/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698