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

Unified Diff: chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc

Issue 14927015: Translate device-local account IDs to user IDs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed DeviceLocalAccountTest. Created 7 years, 7 months 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/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc b/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc
index 69d9d0525814a9baa6e63f87be609b0bfe38746b..e4d0285447a461dad99a76d5a46a3158fe3aa64b 100644
--- a/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc
@@ -40,8 +40,9 @@ class DeviceCloudPolicyStoreChromeOSTest
chromeos::STUB_DBUS_CLIENT_IMPLEMENTATION, NULL)),
install_attributes_(new EnterpriseInstallAttributes(
cryptohome_library_.get(), stub_cryptohome_client_.get())),
- store_(new DeviceCloudPolicyStoreChromeOS(&device_settings_service_,
- install_attributes_.get())) {}
+ store_(new DeviceCloudPolicyStoreChromeOS(
+ chromeos::DeviceSettingsService::Get(),
+ install_attributes_.get())) {}
virtual void SetUp() OVERRIDE {
DeviceSettingsTestBase::SetUp();
@@ -100,8 +101,8 @@ class DeviceCloudPolicyStoreChromeOSTest
std::string());
install_attributes_.reset(new EnterpriseInstallAttributes(
cryptohome_library_.get(), stub_cryptohome_client_.get()));
- store_.reset(new DeviceCloudPolicyStoreChromeOS(&device_settings_service_,
- install_attributes_.get()));
+ store_.reset(new DeviceCloudPolicyStoreChromeOS(
+ chromeos::DeviceSettingsService::Get(), install_attributes_.get()));
}
scoped_ptr<chromeos::CryptohomeLibrary> cryptohome_library_;

Powered by Google App Engine
This is Rietveld 408576698