| 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 f1394b4d42dea08ada001c382d492b1448e27faf..d954c3ce7e159fce6e588bf07fcecbee0202d8da 100644
|
| --- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
|
| +++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
|
| @@ -195,6 +195,17 @@ class OwnerSettingsServiceChromeOS : public ownership::OwnerSettingsService,
|
| DISALLOW_COPY_AND_ASSIGN(OwnerSettingsServiceChromeOS);
|
| };
|
|
|
| +// Helper class for tests. Allows to set some of the settings that are normally
|
| +// read-only.
|
| +class ScopedTestOwnerSettings {
|
| + public:
|
| + ScopedTestOwnerSettings();
|
| + ~ScopedTestOwnerSettings();
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ScopedTestOwnerSettings);
|
| +};
|
| +
|
| } // namespace chromeos
|
|
|
| #endif // CHROME_BROWSER_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_CHROMEOS_H_
|
|
|