| Index: chrome/browser/chromeos/settings/cros_settings.h
|
| diff --git a/chrome/browser/chromeos/settings/cros_settings.h b/chrome/browser/chromeos/settings/cros_settings.h
|
| index 8a312aa54403ae1756817472d1ea0b77d21ed695..2acfd3a95247272474b92ffbbac8c044254a9689 100644
|
| --- a/chrome/browser/chromeos/settings/cros_settings.h
|
| +++ b/chrome/browser/chromeos/settings/cros_settings.h
|
| @@ -24,6 +24,8 @@ class Value;
|
|
|
| namespace chromeos {
|
|
|
| +class DeviceSettingsService;
|
| +
|
| // This class manages per-device/global settings.
|
| class CrosSettings : public base::NonThreadSafe {
|
| public:
|
| @@ -33,6 +35,11 @@ class CrosSettings : public base::NonThreadSafe {
|
| static void Shutdown();
|
| static CrosSettings* Get();
|
|
|
| + // Creates a device settings service instance. This is meant for unit tests,
|
| + // production code uses the singleton returned by Get() above.
|
| + CrosSettings(DeviceSettingsService* device_settings_service);
|
| + virtual ~CrosSettings();
|
| +
|
| // Helper function to test if the given |path| is a valid cros setting.
|
| static bool IsCrosSettings(const std::string& path);
|
|
|
| @@ -99,9 +106,6 @@ class CrosSettings : public base::NonThreadSafe {
|
| private:
|
| friend class CrosSettingsTest;
|
|
|
| - CrosSettings();
|
| - virtual ~CrosSettings();
|
| -
|
| // Fires system setting change notification.
|
| void FireObservers(const std::string& path);
|
|
|
|
|