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

Unified Diff: chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h

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.h
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h
index 1774fa7b01d8e17a4e48a480fb6f4a3b77c1733d..040c9c54af9df40e834845b052e14e321cae3da2 100644
--- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h
+++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h
@@ -14,6 +14,10 @@
class KeyedService;
class Profile;
+namespace content {
+class BrowserContext;
+}
+
namespace ownership {
class OwnerKeyUtil;
}
@@ -28,6 +32,9 @@ class OwnerSettingsServiceChromeOSFactory
public:
static OwnerSettingsServiceChromeOS* GetForProfile(Profile* profile);
Nikita (slow) 2014/11/19 17:45:59 I suggest dropping this method and always use GetF
ygorshenin1 2014/11/19 18:30:44 Done.
+ static OwnerSettingsServiceChromeOS* GetForBrowserContext(
+ content::BrowserContext* context);
+
static OwnerSettingsServiceChromeOSFactory* GetInstance();
static void SetDeviceSettingsServiceForTesting(

Powered by Google App Engine
This is Rietveld 408576698