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

Unified Diff: base/prefs/overlay_user_pref_store.cc

Issue 16797003: Make base use the proper Value namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwarnings fixed Created 7 years, 6 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
Index: base/prefs/overlay_user_pref_store.cc
diff --git a/base/prefs/overlay_user_pref_store.cc b/base/prefs/overlay_user_pref_store.cc
index 3a74a5c4a6c174886d1c977c2c117b754ea0633a..628d3b4e33ba617c32c8b1192975532266818aea 100644
--- a/base/prefs/overlay_user_pref_store.cc
+++ b/base/prefs/overlay_user_pref_store.cc
@@ -34,7 +34,7 @@ bool OverlayUserPrefStore::IsInitializationComplete() const {
}
bool OverlayUserPrefStore::GetValue(const std::string& key,
- const Value** result) const {
+ const base::Value** result) const {
// If the |key| shall NOT be stored in the overlay store, there must not
// be an entry.
DCHECK(ShallBeStoredInOverlay(key) || !overlay_.GetValue(key, NULL));
@@ -45,7 +45,7 @@ bool OverlayUserPrefStore::GetValue(const std::string& key,
}
bool OverlayUserPrefStore::GetMutableValue(const std::string& key,
- Value** result) {
+ base::Value** result) {
if (!ShallBeStoredInOverlay(key))
return underlay_->GetMutableValue(GetUnderlayKey(key), result);
@@ -53,7 +53,7 @@ bool OverlayUserPrefStore::GetMutableValue(const std::string& key,
return true;
// Try to create copy of underlay if the overlay does not contain a value.
- Value* underlay_value = NULL;
+ base::Value* underlay_value = NULL;
if (!underlay_->GetMutableValue(GetUnderlayKey(key), &underlay_value))
return false;
@@ -63,7 +63,7 @@ bool OverlayUserPrefStore::GetMutableValue(const std::string& key,
}
void OverlayUserPrefStore::SetValue(const std::string& key,
- Value* value) {
+ base::Value* value) {
if (!ShallBeStoredInOverlay(key)) {
underlay_->SetValue(GetUnderlayKey(key), value);
return;
@@ -74,7 +74,7 @@ void OverlayUserPrefStore::SetValue(const std::string& key,
}
void OverlayUserPrefStore::SetValueSilently(const std::string& key,
- Value* value) {
+ base::Value* value) {
if (!ShallBeStoredInOverlay(key)) {
underlay_->SetValueSilently(GetUnderlayKey(key), value);
return;

Powered by Google App Engine
This is Rietveld 408576698