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

Unified Diff: chrome/browser/prefs/scoped_user_pref_update.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_value_store.cc ('k') | chrome/browser/prefs/scoped_user_pref_update.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/scoped_user_pref_update.h
diff --git a/chrome/browser/prefs/scoped_user_pref_update.h b/chrome/browser/prefs/scoped_user_pref_update.h
index 65365f3f0f2221489996e16c2907ca3bbb9e74b8..692937ee3832ee65f1c8cf911b7ba591bb513e80 100644
--- a/chrome/browser/prefs/scoped_user_pref_update.h
+++ b/chrome/browser/prefs/scoped_user_pref_update.h
@@ -40,7 +40,7 @@ class ScopedUserPrefUpdateBase : public base::NonThreadSafe {
virtual ~ScopedUserPrefUpdateBase();
// Sets |value_| to |service_|->GetMutableUserPref and returns it.
- base::Value* Get(Value::ValueType type);
+ base::Value* Get(base::Value::Type type);
private:
// If |value_| is not null, triggers a notification of PrefObservers and
@@ -64,7 +64,7 @@ class ScopedUserPrefUpdateBase : public base::NonThreadSafe {
//
// This class may only be used on the UI thread as it requires access to the
// PrefService.
-template <typename T, Value::ValueType type_enum_value>
+template <typename T, base::Value::Type type_enum_value>
class ScopedUserPrefUpdate : public subtle::ScopedUserPrefUpdateBase {
public:
ScopedUserPrefUpdate(PrefService* service, const char* path)
« no previous file with comments | « chrome/browser/prefs/pref_value_store.cc ('k') | chrome/browser/prefs/scoped_user_pref_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698