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

Unified Diff: chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc

Issue 738843002: Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set() in VersionUpdaterCros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes. Created 6 years, 1 month 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/ownership/owner_settings_service_chromeos_unittest.cc
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc
index 654b7c74661d272e7b45807d7e90648ed0b75428..d559ef6b0d4dd4adab9983f2ae5894e12b545d0d 100644
--- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc
+++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc
@@ -93,8 +93,8 @@ class OwnerSettingsServiceChromeOSTest : public DeviceSettingsTestBase {
InitOwner(device_policy_.policy_data().username(), true);
FlushDeviceSettings();
- service_ =
- OwnerSettingsServiceChromeOSFactory::GetForProfile(profile_.get());
+ service_ = OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(
+ profile_.get());
ASSERT_TRUE(service_);
ASSERT_TRUE(service_->IsOwner());
}
@@ -169,8 +169,8 @@ class OwnerSettingsServiceChromeOSNoOwnerTest
provider_.reset(new DeviceSettingsProvider(base::Bind(&OnPrefChanged),
&device_settings_service_));
FlushDeviceSettings();
- service_ =
- OwnerSettingsServiceChromeOSFactory::GetForProfile(profile_.get());
+ service_ = OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(
+ profile_.get());
ASSERT_TRUE(service_);
ASSERT_FALSE(service_->IsOwner());
}

Powered by Google App Engine
This is Rietveld 408576698