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

Unified Diff: chrome/browser/prefs/session_startup_pref.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
Index: chrome/browser/prefs/session_startup_pref.cc
diff --git a/chrome/browser/prefs/session_startup_pref.cc b/chrome/browser/prefs/session_startup_pref.cc
index 7534e7d84737aaf1cf87ae7053d826c3a3e99333..69bd41858ea091181f23d51dff50ad6fb0a85a7b 100644
--- a/chrome/browser/prefs/session_startup_pref.cc
+++ b/chrome/browser/prefs/session_startup_pref.cc
@@ -113,12 +113,12 @@ void SessionStartupPref::SetStartupPref(PrefService* prefs,
// user changes the startup type pref.
// Ownership of the ListValue retains with the pref service.
ListPrefUpdate update(prefs, prefs::kURLsToRestoreOnStartup);
- ListValue* url_pref_list = update.Get();
+ base::ListValue* url_pref_list = update.Get();
DCHECK(url_pref_list);
url_pref_list->Clear();
for (size_t i = 0; i < pref.urls.size(); ++i) {
url_pref_list->Set(static_cast<int>(i),
- new StringValue(pref.urls[i].spec()));
+ new base::StringValue(pref.urls[i].spec()));
}
}
}
@@ -141,7 +141,8 @@ SessionStartupPref SessionStartupPref::GetStartupPref(PrefService* prefs) {
// Always load the urls, even if the pref type isn't URLS. This way the
// preferences panels can show the user their last choice.
- const ListValue* url_list = prefs->GetList(prefs::kURLsToRestoreOnStartup);
+ const base::ListValue* url_list =
+ prefs->GetList(prefs::kURLsToRestoreOnStartup);
URLListToPref(url_list, &pref);
return pref;
« no previous file with comments | « chrome/browser/prefs/proxy_policy_unittest.cc ('k') | chrome/browser/prefs/session_startup_pref_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698