| Index: net/url_request/url_request_netlog_params.cc
|
| ===================================================================
|
| --- net/url_request/url_request_netlog_params.cc (revision 52046)
|
| +++ net/url_request/url_request_netlog_params.cc (working copy)
|
| @@ -7,14 +7,21 @@
|
| #include "base/values.h"
|
|
|
| URLRequestStartEventParameters::URLRequestStartEventParameters(
|
| - const GURL& url, const std::string& method, int load_flags)
|
| - : url_(url), method_(method), load_flags_(load_flags) {}
|
| + const GURL& url,
|
| + const std::string& method,
|
| + int load_flags,
|
| + net::RequestPriority priority)
|
| + : url_(url),
|
| + method_(method),
|
| + load_flags_(load_flags),
|
| + priority_(priority) {
|
| +}
|
|
|
| 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_));
|
| return dict;
|
| }
|
| -
|
|
|