Index: net/http/http_pipelined_connection_impl.cc |
diff --git a/net/http/http_pipelined_connection_impl.cc b/net/http/http_pipelined_connection_impl.cc |
index 471b26adef98367f1a3f1665100ce3f120a529a7..b72f8e8cc89ee0027bfef791e2dad200b58530d0 100644 |
--- a/net/http/http_pipelined_connection_impl.cc |
+++ b/net/http/http_pipelined_connection_impl.cc |
@@ -18,34 +18,31 @@ |
#include "net/http/http_version.h" |
#include "net/socket/client_socket_handle.h" |
-using base::DictionaryValue; |
-using base::Value; |
- |
namespace net { |
namespace { |
-Value* NetLogReceivedHeadersCallback(const NetLog::Source& source, |
- const std::string* feedback, |
- NetLog::LogLevel /* log_level */) { |
- DictionaryValue* dict = new DictionaryValue; |
+base::Value* NetLogReceivedHeadersCallback(const NetLog::Source& source, |
+ const std::string* feedback, |
+ NetLog::LogLevel /* log_level */) { |
+ base::DictionaryValue* dict = new base::DictionaryValue; |
source.AddToEventParameters(dict); |
dict->SetString("feedback", *feedback); |
return dict; |
} |
-Value* NetLogStreamClosedCallback(const NetLog::Source& source, |
- bool not_reusable, |
- NetLog::LogLevel /* log_level */) { |
- DictionaryValue* dict = new DictionaryValue; |
+base::Value* NetLogStreamClosedCallback(const NetLog::Source& source, |
+ bool not_reusable, |
+ NetLog::LogLevel /* log_level */) { |
+ base::DictionaryValue* dict = new base::DictionaryValue; |
source.AddToEventParameters(dict); |
dict->SetBoolean("not_reusable", not_reusable); |
return dict; |
} |
-Value* NetLogHostPortPairCallback(const HostPortPair* host_port_pair, |
- NetLog::LogLevel /* log_level */) { |
- DictionaryValue* dict = new DictionaryValue; |
+base::Value* NetLogHostPortPairCallback(const HostPortPair* host_port_pair, |
+ NetLog::LogLevel /* log_level */) { |
+ base::DictionaryValue* dict = new base::DictionaryValue; |
dict->SetString("host_and_port", host_port_pair->ToString()); |
return dict; |
} |