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

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: Rebase 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
« no previous file with comments | « chrome/browser/chromeos/login/session/user_session_manager.cc ('k') | chrome/browser/ui/webui/flags_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b0d097d9d6260d462dc7b95d359b1f64ae2c6e85 100644
--- a/chrome/browser/chromeos/settings/owner_flags_storage.cc
+++ b/chrome/browser/chromeos/settings/owner_flags_storage.cc
@@ -20,7 +20,7 @@ namespace about_flags {
OwnerFlagsStorage::OwnerFlagsStorage(
PrefService* prefs,
ownership::OwnerSettingsService* owner_settings_service)
- : ::flags_ui::PrefServiceFlagsStorage(prefs),
+ : flags_ui::PrefServiceFlagsStorage(prefs),
owner_settings_service_(owner_settings_service) {
// Make this code more unit test friendly.
if (g_browser_process->local_state()) {
@@ -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);
base::CommandLine::StringVector switches = command_line.argv();
for (base::CommandLine::StringVector::const_iterator it =
switches.begin() + 1;
« no previous file with comments | « chrome/browser/chromeos/login/session/user_session_manager.cc ('k') | chrome/browser/ui/webui/flags_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698