Index: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc |
diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc |
index 4a9518e31af56ee569205b26e40b54313406205b..3fd74d67805fdd0d3ddd2b36e7972ffac054e241 100644 |
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc |
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc |
@@ -110,8 +110,8 @@ LocalDiscoveryUIHandler::LocalDiscoveryUIHandler() |
// Google Chrome builds. Use a command-line switch for Windows non-Google |
// Chrome builds. |
cloud_print_connector_ui_enabled_ = |
- CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableCloudPrintProxy); |
+ base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableCloudPrintProxy); |
#else |
// Always enabled for Linux and Google Chrome Windows builds. |
// Never enabled for Chrome OS, we don't even need to indicate it. |
@@ -204,7 +204,7 @@ void LocalDiscoveryUIHandler::HandleStart(const base::ListValue* args) { |
#endif |
#if defined(ENABLE_WIFI_BOOTSTRAPPING) |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableCloudDevices)) { |
StartWifiBootstrapping(); |
} |
@@ -264,8 +264,8 @@ void LocalDiscoveryUIHandler::HandleRequestDeviceList( |
cloud_devices_.clear(); |
cloud_print_printer_list_ = CreateApiFlow(); |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableCloudDevices)) { |
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableCloudDevices)) { |
cloud_device_list_ = CreateApiFlow(); |
} |