| Index: chrome/browser/chromeos/settings/cros_settings.h
|
| ===================================================================
|
| --- chrome/browser/chromeos/settings/cros_settings.h (revision 154482)
|
| +++ chrome/browser/chromeos/settings/cros_settings.h (working copy)
|
| @@ -91,17 +91,13 @@
|
| // 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.
|
| - CrosSettings();
|
| - ~CrosSettings();
|
| -
|
| - // Fires system setting change notification.
|
| - void FireObservers(const std::string& path);
|
| -
|
| // List of ChromeOS system settings providers.
|
| std::vector<CrosSettingsProvider*> providers_;
|
|
|
| @@ -113,6 +109,12 @@
|
| SettingsObserverMap;
|
| SettingsObserverMap settings_observers_;
|
|
|
| + CrosSettings();
|
| + ~CrosSettings();
|
| +
|
| + // Fires system setting change notification.
|
| + void FireObservers(const std::string& path);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CrosSettings);
|
| };
|
|
|
|
|