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

Unified Diff: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc

Issue 816403003: 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/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();
}
« no previous file with comments | « chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc ('k') | chrome/browser/ui/webui/nacl_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698