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

Unified Diff: chrome/browser/chromeos/system/input_device_settings_impl_x11.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/system/input_device_settings_impl_x11.cc
diff --git a/chrome/browser/chromeos/system/input_device_settings_impl_x11.cc b/chrome/browser/chromeos/system/input_device_settings_impl_x11.cc
index b2cc35394a63fb70e267822e5b0a899bc12b41c7..0c10157b9c088a4ab674be9ba0d241593bd34076 100644
--- a/chrome/browser/chromeos/system/input_device_settings_impl_x11.cc
+++ b/chrome/browser/chromeos/system/input_device_settings_impl_x11.cc
@@ -56,7 +56,7 @@ void ExecuteScriptOnFileThread(const std::vector<std::string>& argv) {
return;
base::ProcessHandle handle;
- base::LaunchProcess(CommandLine(argv), base::LaunchOptions(), &handle);
+ base::LaunchProcess(base::CommandLine(argv), base::LaunchOptions(), &handle);
base::EnsureProcessGetsReaped(handle);
}
@@ -66,8 +66,8 @@ void ExecuteScript(const std::vector<std::string>& argv) {
if (argv.size() == 1)
return;
- VLOG(1) << "About to launch: \"" << CommandLine(argv).GetCommandLineString()
- << "\"";
+ VLOG(1) << "About to launch: \""
+ << base::CommandLine(argv).GetCommandLineString() << "\"";
// Control scripts can take long enough to cause SIGART during shutdown
// (http://crbug.com/261426). Run the blocking pool task with
@@ -107,7 +107,7 @@ void DeviceExistsBlockingPool(const char* device_type,
std::string output;
// Output is empty if the device is not found.
exists->data =
- base::GetAppOutput(CommandLine(argv), &output) && !output.empty();
+ base::GetAppOutput(base::CommandLine(argv), &output) && !output.empty();
DVLOG(1) << "DeviceExistsBlockingPool:" << device_type << "=" << exists->data;
}

Powered by Google App Engine
This is Rietveld 408576698