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

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

Issue 819133004: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 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: 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 e3af783ed9e7183fde87511fa62f477434771b7c..8e8d0de2237ac3fd3efba51d18126a4cc6b5a2e1 100644
--- a/chrome/browser/chromeos/settings/owner_flags_storage.cc
+++ b/chrome/browser/chromeos/settings/owner_flags_storage.cc
@@ -52,11 +52,12 @@ bool OwnerFlagsStorage::SetFlags(const std::set<std::string>& flags) {
base::ListValue experiments_list;
- CommandLine command_line(CommandLine::NO_PROGRAM);
+ base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
::about_flags::ConvertFlagsToSwitches(this, &command_line,
::about_flags::kNoSentinels);
- CommandLine::StringVector switches = command_line.argv();
- for (CommandLine::StringVector::const_iterator it = switches.begin() + 1;
+ base::CommandLine::StringVector switches = command_line.argv();
+ for (base::CommandLine::StringVector::const_iterator it =
+ switches.begin() + 1;
it != switches.end(); ++it) {
experiments_list.Append(new base::StringValue(*it));
}
« no previous file with comments | « chrome/browser/chromeos/settings/cros_settings.cc ('k') | chrome/browser/chromeos/system/device_disabling_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698