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

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: Next round of comments. All bots meanwhile good and manual testing seems fine as well. 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
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..49cf5265d88f2006251430ad42b35aef815d6470 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();
+
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_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698