| Index: chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
|
| diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
|
| index 0d587caafaf79de0000334b8e716797f7fc459dd..f1394b4d42dea08ada001c382d492b1448e27faf 100644
|
| --- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
|
| +++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
|
| @@ -34,6 +34,8 @@ class OwnerKeyUtil;
|
|
|
| namespace chromeos {
|
|
|
| +class FakeOwnerSettingsService;
|
| +
|
| // The class is a profile-keyed service which holds public/private
|
| // keypair corresponds to a profile. The keypair is reloaded automatically when
|
| // profile is created and TPM token is ready. Note that the private part of a
|
| @@ -87,8 +89,9 @@ class OwnerSettingsServiceChromeOS : public ownership::OwnerSettingsService,
|
| void OnDeviceSettingsServiceShutdown() override;
|
|
|
| // Sets the management related settings.
|
| - void SetManagementSettings(const ManagementSettings& settings,
|
| - const OnManagementSettingsSetCallback& callback);
|
| + virtual void SetManagementSettings(
|
| + const ManagementSettings& settings,
|
| + const OnManagementSettingsSetCallback& callback);
|
|
|
| // Checks if the user is the device owner, without the user profile having to
|
| // been initialized. Should be used only if login state is in safe mode.
|
| @@ -115,14 +118,15 @@ class OwnerSettingsServiceChromeOS : public ownership::OwnerSettingsService,
|
| has_pending_management_settings_;
|
| }
|
|
|
| - private:
|
| - friend class OwnerSettingsServiceChromeOSFactory;
|
| -
|
| + protected:
|
| OwnerSettingsServiceChromeOS(
|
| DeviceSettingsService* device_settings_service,
|
| Profile* profile,
|
| const scoped_refptr<ownership::OwnerKeyUtil>& owner_key_util);
|
|
|
| + private:
|
| + friend class OwnerSettingsServiceChromeOSFactory;
|
| +
|
| // OwnerSettingsService protected interface overrides:
|
|
|
| // Reloads private key from profile's NSS slots, responds via |callback|.
|
|
|