Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5263)

Unified Diff: chrome/browser/chromeos/settings/cros_settings.h

Issue 10918027: Revert 154457 - Switch from SignedSettings to DeviceSettingsService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.cc ('k') | chrome/browser/chromeos/settings/cros_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698