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

Unified Diff: chrome/browser/chromeos/settings/device_settings_test_helper.cc

Issue 790183002: Revert of Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set() in VersionUpda... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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/settings/device_settings_test_helper.cc
diff --git a/chrome/browser/chromeos/settings/device_settings_test_helper.cc b/chrome/browser/chromeos/settings/device_settings_test_helper.cc
index 3704edbbd272dafb89b0ceb054bf68173eea6f42..d30a4da7b7ae69154e4cdec77754d128800629f3 100644
--- a/chrome/browser/chromeos/settings/device_settings_test_helper.cc
+++ b/chrome/browser/chromeos/settings/device_settings_test_helper.cc
@@ -256,7 +256,7 @@ void DeviceSettingsTestBase::InitOwner(const std::string& user_id,
const_cast<user_manager::User*>(user));
}
OwnerSettingsServiceChromeOS* service =
- OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get());
+ OwnerSettingsServiceChromeOSFactory::GetForProfile(profile_.get());
CHECK(service);
if (tpm_is_ready)
service->OnTPMTokenReady(true /* token is enabled */);

Powered by Google App Engine
This is Rietveld 408576698