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

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

Issue 14200028: Make CrosSettings and DeviceSettingsService non Lazy instances (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix LoginUtilsTest Created 7 years, 8 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 163ea1a12b5211e40c9d19d3b3a76ae155cac2cb..a57ecde517d39a6b483c837697ae0555fe852b2d 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,7 +40,7 @@ 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_,
+ store_(new DeviceCloudPolicyStoreChromeOS(device_settings_service_,
install_attributes_.get())) {}
virtual void SetUp() OVERRIDE {
@@ -100,7 +100,7 @@ class DeviceCloudPolicyStoreChromeOSTest
std::string());
install_attributes_.reset(new EnterpriseInstallAttributes(
cryptohome_library_.get(), stub_cryptohome_client_.get()));
- store_.reset(new DeviceCloudPolicyStoreChromeOS(&device_settings_service_,
+ store_.reset(new DeviceCloudPolicyStoreChromeOS(device_settings_service_,
install_attributes_.get()));
}

Powered by Google App Engine
This is Rietveld 408576698