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

Unified Diff: net/url_request/url_request_netlog_params.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/udp/udp_net_log_parameters.cc ('k') | net/url_request/url_request_throttler_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_netlog_params.cc
diff --git a/net/url_request/url_request_netlog_params.cc b/net/url_request/url_request_netlog_params.cc
index 230517cc57441fd05c101c647bad2ebe942625a3..3e26eecca30d653bc4067d5068a79132ae657380 100644
--- a/net/url_request/url_request_netlog_params.cc
+++ b/net/url_request/url_request_netlog_params.cc
@@ -10,13 +10,13 @@
namespace net {
-Value* NetLogURLRequestStartCallback(const GURL* url,
- const std::string* method,
- int load_flags,
- RequestPriority priority,
- int64 upload_id,
- NetLog::LogLevel /* log_level */) {
- DictionaryValue* dict = new DictionaryValue();
+base::Value* NetLogURLRequestStartCallback(const GURL* url,
+ const std::string* method,
+ int load_flags,
+ RequestPriority priority,
+ int64 upload_id,
+ NetLog::LogLevel /* log_level */) {
+ base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetString("url", url->possibly_invalid_spec());
dict->SetString("method", *method);
dict->SetInteger("load_flags", load_flags);
@@ -28,7 +28,7 @@ Value* NetLogURLRequestStartCallback(const GURL* url,
bool StartEventLoadFlagsFromEventParams(const Value* event_params,
int* load_flags) {
- const DictionaryValue* dict;
+ const base::DictionaryValue* dict;
if (!event_params->GetAsDictionary(&dict) ||
!dict->GetInteger("load_flags", load_flags)) {
*load_flags = 0;
« no previous file with comments | « net/udp/udp_net_log_parameters.cc ('k') | net/url_request/url_request_throttler_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698