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

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

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: ios/chrome/browser/about_flags.mm
diff --git a/ios/chrome/browser/about_flags.mm b/ios/chrome/browser/about_flags.mm
index a802cb390371f2ef36cc09820e04a646a4f35abe..92692be3658c79d786ec01cad9d5799e7bd2ce76 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"
@@ -231,9 +232,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.

Powered by Google App Engine
This is Rietveld 408576698