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

Unified Diff: net/url_request/url_request_netlog_params.h

Issue 2905007: Add the URLRequest's priority to the net-log.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address cbentzel comments 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/url_request/url_request.cc ('k') | net/url_request/url_request_netlog_params.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.h
===================================================================
--- net/url_request/url_request_netlog_params.h (revision 52046)
+++ net/url_request/url_request_netlog_params.h (working copy)
@@ -7,15 +7,18 @@
#include <string>
+#include "base/basictypes.h"
#include "googleurl/src/gurl.h"
#include "net/base/net_log.h"
+#include "net/base/request_priority.h"
// Holds the parameters to emit to the NetLog when starting a URLRequest.
class URLRequestStartEventParameters : public net::NetLog::EventParameters {
public:
URLRequestStartEventParameters(const GURL& url,
const std::string& method,
- int load_flags);
+ int load_flags,
+ net::RequestPriority priority);
const GURL& url() const {
return url_;
@@ -27,6 +30,9 @@
const GURL url_;
const std::string method_;
const int load_flags_;
+ const net::RequestPriority priority_;
+
+ DISALLOW_COPY_AND_ASSIGN(URLRequestStartEventParameters);
};
#endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_netlog_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698