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

Unified Diff: components/cloud_devices/common/cloud_devices_urls.cc

Issue 762723003: Prefix CommandLine usage with base namespace (Part 8: components) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « components/autofill/core/common/password_generation_util.cc ('k') | components/crash/app/breakpad_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cloud_devices/common/cloud_devices_urls.cc
diff --git a/components/cloud_devices/common/cloud_devices_urls.cc b/components/cloud_devices/common/cloud_devices_urls.cc
index 9e1090e3093daf503b9cce9cda887b4a7aab6992..1b875b12dd9c6e7d2ec466beea44c11713a3ac3e 100644
--- a/components/cloud_devices/common/cloud_devices_urls.cc
+++ b/components/cloud_devices/common/cloud_devices_urls.cc
@@ -40,7 +40,8 @@ const char kCloudDevicesUrl[] = "https://www.googleapis.com/clouddevices/v1";
// point at the Google Cloud Print service. This can be overridden by the
// command line or by the user preferences.
GURL GetCloudPrintURL() {
- const CommandLine* command_line = CommandLine::ForCurrentProcess();
+ const base::CommandLine* command_line =
+ base::CommandLine::ForCurrentProcess();
GURL cloud_print_url(
command_line->GetSwitchValueASCII(switches::kCloudPrintURL));
if (cloud_print_url.is_empty())
@@ -102,7 +103,8 @@ GURL GetCloudPrintManageDeviceURL(const std::string& device_id) {
}
GURL GetCloudDevicesURL() {
- const CommandLine* command_line = CommandLine::ForCurrentProcess();
+ const base::CommandLine* command_line =
+ base::CommandLine::ForCurrentProcess();
GURL cloud_print_url(
command_line->GetSwitchValueASCII(switches::kCloudDevicesURL));
if (cloud_print_url.is_empty())
« no previous file with comments | « components/autofill/core/common/password_generation_util.cc ('k') | components/crash/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698