| Index: chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc
|
| diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc
|
| index 4d321dc6515e5f44669d6d640150e435f5fa2fb7..eb02a0a21f83dfd4c7ef1a9107b28384346de9d2 100644
|
| --- a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc
|
| +++ b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc
|
| @@ -108,10 +108,9 @@ class DeviceCloudPolicyManagerChromeOSTest
|
| TestingBrowserProcess::GetGlobal()->SetSystemRequestContext(
|
| request_context_getter_.get());
|
| TestingBrowserProcess::GetGlobal()->SetLocalState(&local_state_);
|
| - chromeos::DeviceOAuth2TokenServiceFactory::Initialize();
|
| - // This is needed as SystemSaltGetter is used for encrypting tokens in
|
| - // CryptohomeTokenEncryptor.
|
| + // SystemSaltGetter is used in DeviceOAuth2TokenServiceFactory.
|
| chromeos::SystemSaltGetter::Initialize();
|
| + chromeos::DeviceOAuth2TokenServiceFactory::Initialize();
|
| url_fetcher_response_code_ = 200;
|
| url_fetcher_response_string_ = "{\"access_token\":\"accessToken4Test\","
|
| "\"expires_in\":1234,"
|
|
|