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

Side by Side Diff: net/url_request/url_request_netlog_params.h

Issue 2108003: Add the URLRequest's method and load flags to the NetLog. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix test Created 10 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
6 #define NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
7
8 #include <string>
9
10 #include "googleurl/src/gurl.h"
11 #include "net/base/net_log.h"
12
13 // Holds the parameters to emit to the NetLog when starting a URLRequest.
14 class URLRequestStartEventParameters : public net::NetLog::EventParameters {
15 public:
16 URLRequestStartEventParameters(const GURL& url,
17 const std::string& method,
18 int load_flags);
19
20 const GURL& url() const {
21 return url_;
22 }
23
24 virtual Value* ToValue() const;
25
26 private:
27 const GURL url_;
28 const std::string method_;
29 const int load_flags_;
30 };
31
32 #endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
OLDNEW
« 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