Index: chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc |
diff --git a/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc b/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc |
index 8afdf7780bd1c2b3fff5439e6333575aebdc048d..2f5c94d9ce4f01c700756badc61f47872d03f4e0 100644 |
--- a/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc |
+++ b/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc |
@@ -24,6 +24,7 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/chrome_switches.h" |
+#include "components/policy/core/common/policy_switches.h" |
#include "extensions/common/extension.h" |
#include "net/url_request/url_request_context_getter.h" |
#include "policy/proto/cloud_policy.pb.h" |
@@ -95,7 +96,7 @@ class ComponentCloudPolicyTest : public ExtensionBrowserTest { |
// replace it. This is the default username sent in policy blobs from the |
// testserver. |
command_line->AppendSwitchASCII( |
- chromeos::switches::kLoginUser, "user@example.com"); |
+ ::chromeos::switches::kLoginUser, "user@example.com"); |
#endif |
} |
@@ -107,7 +108,7 @@ class ComponentCloudPolicyTest : public ExtensionBrowserTest { |
std::string url = test_server_.GetServiceURL().spec(); |
CommandLine* command_line = CommandLine::ForCurrentProcess(); |
- command_line->AppendSwitchASCII(switches::kDeviceManagementUrl, url); |
+ command_line->AppendSwitchASCII(::switches::kDeviceManagementUrl, url); |
command_line->AppendSwitch(switches::kEnableComponentCloudPolicy); |
ExtensionBrowserTest::SetUpInProcessBrowserTestFixture(); |