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

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

Issue 985093002: Fix up Owner settings on first load (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: based off mattias' patch that injects CrosSettings for testing Created 5 years, 9 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/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 8799ac1d1f8853f792941371fae7720eb030edd4..12ecb7443defef0a65d0d730c5e0329e6d5a8406 100644
--- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h
+++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h
@@ -23,6 +23,7 @@ class OwnerKeyUtil;
namespace chromeos {
+class CrosSettings;
class DeviceSettingsService;
class OwnerSettingsServiceChromeOS;
@@ -37,6 +38,8 @@ class OwnerSettingsServiceChromeOSFactory
static void SetDeviceSettingsServiceForTesting(
DeviceSettingsService* device_settings_service);
+ static void SetCrosSettingsForTesting(CrosSettings* cros_settings);
+
scoped_refptr<ownership::OwnerKeyUtil> GetOwnerKeyUtil();
void SetOwnerKeyUtilForTesting(

Powered by Google App Engine
This is Rietveld 408576698