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

Unified Diff: components/prefs/scoped_user_pref_update.h

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 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
Index: components/prefs/scoped_user_pref_update.h
diff --git a/components/prefs/scoped_user_pref_update.h b/components/prefs/scoped_user_pref_update.h
index bfcdb3f55744b669236a0159350b4d64ea5038f6..29859d65b33a11378b16b452a8e06c7177308d02 100644
--- a/components/prefs/scoped_user_pref_update.h
+++ b/components/prefs/scoped_user_pref_update.h
@@ -101,9 +101,9 @@ class ScopedUserPrefUpdate : public subtle::ScopedUserPrefUpdateBase {
};
typedef ScopedUserPrefUpdate<base::DictionaryValue,
- base::Value::TYPE_DICTIONARY>
+ base::Value::Type::DICTIONARY>
DictionaryPrefUpdate;
-typedef ScopedUserPrefUpdate<base::ListValue, base::Value::TYPE_LIST>
+typedef ScopedUserPrefUpdate<base::ListValue, base::Value::Type::LIST>
ListPrefUpdate;
#endif // COMPONENTS_PREFS_SCOPED_USER_PREF_UPDATE_H_
« no previous file with comments | « components/prefs/pref_value_store_unittest.cc ('k') | components/proximity_auth/ble/bluetooth_low_energy_device_whitelist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698