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

Unified Diff: chrome/browser/net/predictor.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/net/net_log_temp_file.cc ('k') | chrome/browser/net/predictor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/predictor.cc
diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc
index cfa7bad4f08552482480f8a2c3127cdc278810bb..b6b2b26d8e6f975e20c132ba0b758471fa51ee77 100644
--- a/chrome/browser/net/predictor.cc
+++ b/chrome/browser/net/predictor.cc
@@ -442,7 +442,7 @@ UrlList Predictor::GetPredictedUrlListAtStartup(
// This may catch secondary hostnames, pulled in by the homepages. It will
// also catch more of the "primary" home pages, since that was (presumably)
// rendered first (and will be rendered first this time too).
- const ListValue* startup_list =
+ const base::ListValue* startup_list =
user_prefs->GetList(prefs::kDnsPrefetchingStartupList);
if (startup_list) {
@@ -745,11 +745,11 @@ void Predictor::SerializeReferrers(base::ListValue* referral_list) {
for (Referrers::const_iterator it = referrers_.begin();
it != referrers_.end(); ++it) {
// Serialize the list of subresource names.
- Value* subresource_list(it->second.Serialize());
+ base::Value* subresource_list(it->second.Serialize());
// Create a list for each referer.
- ListValue* motivator(new ListValue);
- motivator->Append(new StringValue(it->first.spec()));
+ base::ListValue* motivator(new base::ListValue);
+ motivator->Append(new base::StringValue(it->first.spec()));
motivator->Append(subresource_list);
referral_list->Append(motivator);
@@ -774,7 +774,7 @@ void Predictor::DeserializeReferrers(const base::ListValue& referral_list) {
return;
}
- const Value* subresource_list;
+ const base::Value* subresource_list;
if (!motivator->Get(1, &subresource_list)) {
NOTREACHED();
return;
@@ -1364,7 +1364,7 @@ void Predictor::InitialObserver::GetInitialDnsResolutionList(
it != first_navigations_.end();
++it) {
DCHECK(it->first == Predictor::CanonicalizeUrl(it->first));
- startup_list->Append(new StringValue(it->first.spec()));
+ startup_list->Append(new base::StringValue(it->first.spec()));
}
}
« no previous file with comments | « chrome/browser/net/net_log_temp_file.cc ('k') | chrome/browser/net/predictor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698