Index: chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
diff --git a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
index a30fbd9f70349d4d1c0c8f17db024e9106c4a56e..14cc32efa46a67cfe24cb2b3e56d939624a8e1d0 100644 |
--- a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
+++ b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
@@ -71,7 +71,6 @@ |
#include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
#include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
#include "chrome/common/chrome_paths.h" |
-#include "chrome/common/chrome_switches.h" |
#include "chromeos/chromeos_paths.h" |
#include "chromeos/chromeos_switches.h" |
#include "chromeos/dbus/fake_session_manager_client.h" |
@@ -83,6 +82,7 @@ |
#include "components/policy/core/common/policy_map.h" |
#include "components/policy/core/common/policy_namespace.h" |
#include "components/policy/core/common/policy_service.h" |
+#include "components/policy/core/common/policy_switches.h" |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/web_contents.h" |
@@ -308,8 +308,8 @@ class DeviceLocalAccountTest : public DevicePolicyCrosBrowserTest, |
command_line->AppendSwitch(chromeos::switches::kLoginManager); |
command_line->AppendSwitch(chromeos::switches::kForceLoginManagerInTests); |
command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile, "user"); |
- command_line->AppendSwitchASCII( |
- switches::kDeviceManagementUrl, test_server_.GetServiceURL().spec()); |
+ command_line->AppendSwitchASCII(policy::switches::kDeviceManagementUrl, |
+ test_server_.GetServiceURL().spec()); |
} |
virtual void SetUpInProcessBrowserTestFixture() OVERRIDE { |