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

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

Issue 8727037: Signed settings refactoring: Proper caching and more tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros_settings.cc » ('j') | chrome/browser/chromeos/cros_settings.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros_settings.h
diff --git a/chrome/browser/chromeos/cros_settings.h b/chrome/browser/chromeos/cros_settings.h
index c7f66d276ce0fcedd479f57912bee74fd6fb2d7e..c5602635f1eae6b7fabcd44379bf7007687ccded 100644
--- a/chrome/browser/chromeos/cros_settings.h
+++ b/chrome/browser/chromeos/cros_settings.h
@@ -92,6 +92,10 @@ 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() const;
Denis Lagno 2011/12/01 00:38:12 just wondering why is should be const?
pastarmovj 2011/12/01 10:07:17 No special reason but it doesn't change the intern
+
private:
// List of ChromeOS system settings providers.
std::vector<CrosSettingsProvider*> providers_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros_settings.cc » ('j') | chrome/browser/chromeos/cros_settings.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698