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

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

Issue 2564293002: Revert of Enable RL by default (Closed)
Patch Set: Created 4 years 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 493734add2c76515ccad67973f5cc07d727ea797..eb01c74ff6b4711f5e7c3587d9fbbfd35a2063bd 100644
--- a/ios/chrome/browser/about_flags.mm
+++ b/ios/chrome/browser/about_flags.mm
@@ -234,6 +234,13 @@
command_line->AppendSwitch(switches::kDisablePaymentRequest);
}
+ // Populate command line flags from Reading List.
+ if ([defaults boolForKey:@"EnableReadingList"]) {
+ command_line->AppendSwitch(reading_list::switches::kEnableReadingList);
+ } else {
+ command_line->AppendSwitch(reading_list::switches::kDisableReadingList);
+ }
+
// Populate command line flag for Spotlight Actions.
if ([defaults boolForKey:@"DisableSpotlightActions"]) {
command_line->AppendSwitch(switches::kDisableSpotlightActions);

Powered by Google App Engine
This is Rietveld 408576698