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

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

Issue 10832035: Switch from SignedSettings to DeviceSettingsService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. 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
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.
+ 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);
};

Powered by Google App Engine
This is Rietveld 408576698