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

Unified Diff: chrome/browser/profiles/profile_window.cc

Issue 1408783002: Support base::Feature entries in chrome://flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 2 months 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 | « chrome/browser/about_flags_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_window.cc
diff --git a/chrome/browser/profiles/profile_window.cc b/chrome/browser/profiles/profile_window.cc
index 4d01ff6dd3833fe83aa665013b9fbecbf163d9ba..ddf9c59760614b6b89e93c877c95b88ce56c2da8 100644
--- a/chrome/browser/profiles/profile_window.cc
+++ b/chrome/browser/profiles/profile_window.cc
@@ -477,10 +477,10 @@ void EnableNewProfileManagementPreview(Profile* profile) {
switches::kEnableNewProfileManagement,
"", // not used with ENABLE_DISABLE_VALUE type
switches::kDisableNewProfileManagement,
- "", // not used with ENABLE_DISABLE_VALUE type
- NULL, // not used with ENABLE_DISABLE_VALUE type
- 3
- };
+ "", // not used with ENABLE_DISABLE_VALUE type
+ nullptr, // not used with ENABLE_DISABLE_VALUE type
+ nullptr, // not used with ENABLE_DISABLE_VALUE type
+ 3};
flags_ui::PrefServiceFlagsStorage flags_storage(
g_browser_process->local_state());
about_flags::SetFeatureEntryEnabled(&flags_storage, entry.NameForChoice(1),
« no previous file with comments | « chrome/browser/about_flags_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698