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

Unified Diff: chrome/browser/prerender/prerender_manager.cc

Issue 104493005: Update some uses of Value in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 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 | « chrome/browser/prerender/prerender_local_predictor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_manager.cc
diff --git a/chrome/browser/prerender/prerender_manager.cc b/chrome/browser/prerender/prerender_manager.cc
index 890abd3333db5ef8ddbd5b08ca7e1bcb70157e94..70f3cdf786704014d432e40e11055ab7a717e9c0 100644
--- a/chrome/browser/prerender/prerender_manager.cc
+++ b/chrome/browser/prerender/prerender_manager.cc
@@ -1023,9 +1023,9 @@ bool PrerenderManager::DoesSubresourceURLHaveValidScheme(const GURL& url) {
return DoesURLHaveValidScheme(url) || url == GURL(content::kAboutBlankURL);
}
-DictionaryValue* PrerenderManager::GetAsValue() const {
+base::DictionaryValue* PrerenderManager::GetAsValue() const {
DCHECK(CalledOnValidThread());
- DictionaryValue* dict_value = new DictionaryValue();
+ base::DictionaryValue* dict_value = new base::DictionaryValue();
dict_value->Set("history", prerender_history_->GetEntriesAsValue());
dict_value->Set("active", GetActivePrerendersAsValue());
dict_value->SetBoolean("enabled", enabled_);
@@ -1662,12 +1662,12 @@ void PrerenderManager::AddToHistory(PrerenderContents* contents) {
prerender_history_->AddEntry(entry);
}
-Value* PrerenderManager::GetActivePrerendersAsValue() const {
- ListValue* list_value = new ListValue();
+base::Value* PrerenderManager::GetActivePrerendersAsValue() const {
+ base::ListValue* list_value = new base::ListValue();
for (ScopedVector<PrerenderData>::const_iterator it =
active_prerenders_.begin();
it != active_prerenders_.end(); ++it) {
- if (Value* prerender_value = (*it)->contents()->GetAsValue())
+ if (base::Value* prerender_value = (*it)->contents()->GetAsValue())
list_value->Append(prerender_value);
}
return list_value;
« no previous file with comments | « chrome/browser/prerender/prerender_local_predictor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698