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

Unified Diff: net/url_request/url_request_netlog_params.cc

Issue 3013048: Convert src/net to use std::string/char* for DictionaryValue keys. (Closed)
Patch Set: fix for windows Created 10 years, 5 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/spdy/spdy_session.cc ('k') | no next file » | 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 3693ee9c9eb3a1742b91c9acfb04b547be8aaafa..56414b180b4c697e169570bbb52e3c6bd47e8b31 100644
--- a/net/url_request/url_request_netlog_params.cc
+++ b/net/url_request/url_request_netlog_params.cc
@@ -19,9 +19,9 @@ URLRequestStartEventParameters::URLRequestStartEventParameters(
Value* URLRequestStartEventParameters::ToValue() const {
DictionaryValue* dict = new DictionaryValue();
- dict->SetString(L"url", url_.possibly_invalid_spec());
- dict->SetString(L"method", method_);
- dict->SetInteger(L"load_flags", load_flags_);
- dict->SetInteger(L"priority", static_cast<int>(priority_));
+ dict->SetString("url", url_.possibly_invalid_spec());
+ dict->SetString("method", method_);
+ dict->SetInteger("load_flags", load_flags_);
+ dict->SetInteger("priority", static_cast<int>(priority_));
return dict;
}
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698