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

Unified Diff: chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.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: Fixed non-chromeos builds. 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_factory.cc
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.cc b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.cc
index afe0480125f43757531956af0d18206dd6c0ac29..67e4e74914e7afe729f1f62edac5fc083031d570 100644
--- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.cc
+++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.cc
@@ -41,8 +41,15 @@ OwnerSettingsServiceChromeOSFactory::~OwnerSettingsServiceChromeOSFactory() {
// static
OwnerSettingsServiceChromeOS*
OwnerSettingsServiceChromeOSFactory::GetForProfile(Profile* profile) {
+ return GetForBrowserContext(profile);
+}
+
+// static
+OwnerSettingsServiceChromeOS*
+OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(
+ content::BrowserContext* context) {
return static_cast<OwnerSettingsServiceChromeOS*>(
- GetInstance()->GetServiceForBrowserContext(profile, true));
+ GetInstance()->GetServiceForBrowserContext(context, true));
}
// static

Powered by Google App Engine
This is Rietveld 408576698