Chromium Code Reviews| 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 128184c708c38951baa437d69204e111f8d36c15..4148ee69e848f90af14a60e2851a5ac7cfdb68a0 100644 |
| --- a/chrome/browser/chromeos/settings/cros_settings.h |
| +++ b/chrome/browser/chromeos/settings/cros_settings.h |
| @@ -91,12 +91,16 @@ class CrosSettings : public base::NonThreadSafe { |
| // Returns the provider that handles settings with the |path| or prefix. |
| CrosSettingsProvider* GetProvider(const std::string& path) const; |
| - // Forces all providers to reload their caches from the respective backing |
| - // stores if they have any. |
| - void ReloadProviders(); |
| - |
| private: |
| friend struct base::DefaultLazyInstanceTraits<CrosSettings>; |
| + friend class CrosSettingsTest; |
| + |
| + // Public for testing. |
|
pastarmovj
2012/08/03 13:35:58
This comment is wrong now.
|
| + CrosSettings(); |
| + ~CrosSettings(); |
| + |
| + // Fires system setting change notification. |
| + void FireObservers(const std::string& path); |
| // List of ChromeOS system settings providers. |
| std::vector<CrosSettingsProvider*> providers_; |
| @@ -109,12 +113,6 @@ class CrosSettings : public base::NonThreadSafe { |
| SettingsObserverMap; |
| SettingsObserverMap settings_observers_; |
| - CrosSettings(); |
| - ~CrosSettings(); |
| - |
| - // Fires system setting change notification. |
| - void FireObservers(const std::string& path); |
| - |
| DISALLOW_COPY_AND_ASSIGN(CrosSettings); |
| }; |