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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_settings.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/net/spdyproxy/data_reduction_proxy_settings.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc
index 5e9e58c2d320fb8585d231ba6aeb312bf67399fc..2358b8167adfda2fc83957fbce3c10aff0767f7b 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc
@@ -87,7 +87,7 @@ const char kEnabled[] = "Enabled";
// http_auth_handler_spdyproxy.
const char kAuthenticationRealmName[] = "SpdyProxy";
-int64 GetInt64PrefValue(const ListValue& list_value, size_t index) {
+int64 GetInt64PrefValue(const base::ListValue& list_value, size_t index) {
int64 val = 0;
std::string pref_value;
bool rv = list_value.GetString(index, &pref_value);
@@ -564,7 +564,7 @@ void DataReductionProxySettings::RecordDataReductionInit() {
DataReductionProxySettings::ContentLengthList
DataReductionProxySettings::GetDailyContentLengths(const char* pref_name) {
DataReductionProxySettings::ContentLengthList content_lengths;
- const ListValue* list_value = GetLocalStatePrefs()->GetList(pref_name);
+ const base::ListValue* list_value = GetLocalStatePrefs()->GetList(pref_name);
if (list_value->GetSize() == spdyproxy::kNumDaysInHistory) {
for (size_t i = 0; i < spdyproxy::kNumDaysInHistory; ++i) {
content_lengths.push_back(GetInt64PrefValue(*list_value, i));
@@ -587,9 +587,9 @@ void DataReductionProxySettings::GetContentLengths(
return;
}
- const ListValue* original_list =
+ const base::ListValue* original_list =
local_state->GetList(prefs::kDailyHttpOriginalContentLength);
- const ListValue* received_list =
+ const base::ListValue* received_list =
local_state->GetList(prefs::kDailyHttpReceivedContentLength);
if (original_list->GetSize() != spdyproxy::kNumDaysInHistory ||
« no previous file with comments | « chrome/browser/net/referrer.cc ('k') | chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698