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

Unified Diff: chrome/browser/chromeos/settings/owner_flags_storage.cc

Issue 1411453004: Componentize internal class FlagsState in flags_ui component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@feature_entry
Patch Set: Fix compilation on Win32 Created 5 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: chrome/browser/chromeos/settings/owner_flags_storage.cc
diff --git a/chrome/browser/chromeos/settings/owner_flags_storage.cc b/chrome/browser/chromeos/settings/owner_flags_storage.cc
index a2312648e1968d9ae68697cfdadfb4f66f261431..25d37a89c96e20b881d980089220286e8c724ef1 100644
--- a/chrome/browser/chromeos/settings/owner_flags_storage.cc
+++ b/chrome/browser/chromeos/settings/owner_flags_storage.cc
@@ -57,7 +57,7 @@ bool OwnerFlagsStorage::SetFlags(const std::set<std::string>& flags) {
base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
::about_flags::ConvertFlagsToSwitches(this, &command_line,
- ::about_flags::kNoSentinels);
+ ::flags_ui::kNoSentinels);
Alexei Svitkine (slow) 2015/11/16 21:52:54 Nit: No need for leading ::, since there's no long
sdefresne 2015/11/17 16:28:56 Done.
base::CommandLine::StringVector switches = command_line.argv();
for (base::CommandLine::StringVector::const_iterator it =
switches.begin() + 1;

Powered by Google App Engine
This is Rietveld 408576698