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

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

Issue 8899002: [cros] Add --stub-cros-settings option for testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years 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') | no next file with comments »
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 49cf5265d88f2006251430ad42b35aef815d6470..d72691cf6d9770f7e68e880a31784b63af03f6c1 100644
--- a/chrome/browser/chromeos/cros_settings.h
+++ b/chrome/browser/chromeos/cros_settings.h
@@ -37,11 +37,6 @@ class CrosSettings : public base::NonThreadSafe {
// Sets |in_value| to given |path| in cros settings.
void Set(const std::string& path, const base::Value& in_value);
- // Fires system setting change notification.
- // TODO(pastarmovj): Consider to remove this function from the public
- // interface.
- void FireObservers(const char* path);
-
// Gets settings value of given |path| to |out_value|.
const base::Value* GetPref(const std::string& path) const;
@@ -97,6 +92,8 @@ class CrosSettings : public base::NonThreadSafe {
void ReloadProviders();
private:
+ friend struct base::DefaultLazyInstanceTraits<CrosSettings>;
+
// List of ChromeOS system settings providers.
std::vector<CrosSettingsProvider*> providers_;
@@ -109,7 +106,9 @@ class CrosSettings : public base::NonThreadSafe {
CrosSettings();
~CrosSettings();
- friend struct base::DefaultLazyInstanceTraits<CrosSettings>;
+
+ // Fires system setting change notification.
+ void FireObservers(const std::string& path);
DISALLOW_COPY_AND_ASSIGN(CrosSettings);
};
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698