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

Unified Diff: net/http/http_request_headers.cc

Issue 15662008: Make net and ipc explicitly use the base namespace for Values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « net/http/http_proxy_client_socket_pool.cc ('k') | net/http/http_response_headers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_request_headers.cc
diff --git a/net/http/http_request_headers.cc b/net/http/http_request_headers.cc
index 15eee0c59c643a7544d090a630909ce6c96e6f3b..bf557df37b892db7c27e74de0c1f34b3af8e991f 100644
--- a/net/http/http_request_headers.cc
+++ b/net/http/http_request_headers.cc
@@ -183,18 +183,18 @@ std::string HttpRequestHeaders::ToString() const {
return output;
}
-Value* HttpRequestHeaders::NetLogCallback(
+base::Value* HttpRequestHeaders::NetLogCallback(
const std::string* request_line,
NetLog::LogLevel /* log_level */) const {
- DictionaryValue* dict = new DictionaryValue();
+ base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetString("line", *request_line);
- ListValue* headers = new ListValue();
+ base::ListValue* headers = new base::ListValue();
for (HeaderVector::const_iterator it = headers_.begin();
it != headers_.end(); ++it) {
headers->Append(
- new StringValue(base::StringPrintf("%s: %s",
- it->key.c_str(),
- it->value.c_str())));
+ new base::StringValue(base::StringPrintf("%s: %s",
+ it->key.c_str(),
+ it->value.c_str())));
}
dict->Set("headers", headers);
return dict;
« no previous file with comments | « net/http/http_proxy_client_socket_pool.cc ('k') | net/http/http_response_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698