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

Unified Diff: chrome/browser/prefs/pref_service.h

Issue 7634018: base: Rename ValueType to something less redundant as _just_ Type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/prefs/pref_model_associator_unittest.cc ('k') | chrome/browser/prefs/pref_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_service.h
diff --git a/chrome/browser/prefs/pref_service.h b/chrome/browser/prefs/pref_service.h
index b283bcd4a80743dace9ce34d5ee6474c556c8c8d..5361928c981c6c60149af59ab60a978f41a502bf 100644
--- a/chrome/browser/prefs/pref_service.h
+++ b/chrome/browser/prefs/pref_service.h
@@ -56,7 +56,7 @@ class PrefService : public base::NonThreadSafe {
// your own; use the PrefService::Register*Pref methods instead.
Preference(const PrefService* service,
const char* name,
- base::Value::ValueType type);
+ base::Value::Type type);
~Preference() {}
// Returns the name of the Preference (i.e., the key, e.g.,
@@ -64,7 +64,7 @@ class PrefService : public base::NonThreadSafe {
const std::string name() const { return name_; }
// Returns the registered type of the preference.
- base::Value::ValueType GetType() const;
+ base::Value::Type GetType() const;
// Returns the value of the Preference, falling back to the registered
// default value if no other has been set.
@@ -115,7 +115,7 @@ class PrefService : public base::NonThreadSafe {
std::string name_;
- base::Value::ValueType type_;
+ base::Value::Type type_;
// Reference to the PrefService in which this pref was created.
const PrefService* pref_service_;
@@ -375,7 +375,7 @@ class PrefService : public base::NonThreadSafe {
// |path| must point to a registered preference of type |type|.
// Ownership of the returned value remains at the user pref store.
base::Value* GetMutableUserPref(const char* path,
- base::Value::ValueType type);
+ base::Value::Type type);
// The PrefValueStore provides prioritized preference values. It is created
// and owned by this PrefService. Subclasses may access it for unit testing.
« no previous file with comments | « chrome/browser/prefs/pref_model_associator_unittest.cc ('k') | chrome/browser/prefs/pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698