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

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

Issue 2769703006: Reporting: Plumb into UrlRequest{HttpJob,Context}. (Closed)
Patch Set: Fix unittest failure. Created 3 years, 8 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
« no previous file with comments | « net/url_request/url_request_context_storage.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void ProcessStrictTransportSecurityHeader(); 91 void ProcessStrictTransportSecurityHeader();
92 92
93 // Processes the Public-Key-Pins header, if one exists. 93 // Processes the Public-Key-Pins header, if one exists.
94 void ProcessPublicKeyPinsHeader(); 94 void ProcessPublicKeyPinsHeader();
95 95
96 // Processes the Expect-CT header, if one exists. This header 96 // Processes the Expect-CT header, if one exists. This header
97 // indicates that the server wants the user agent to send a report 97 // indicates that the server wants the user agent to send a report
98 // when a connection violates the Expect CT policy. 98 // when a connection violates the Expect CT policy.
99 void ProcessExpectCTHeader(); 99 void ProcessExpectCTHeader();
100 100
101 // Processes the Report-To header, if one exists. This header configures where
102 // the Reporting API (in //net/reporting) will send reports for the origin.
103 void ProcessReportToHeader();
104
101 // |result| should be OK, or the request is canceled. 105 // |result| should be OK, or the request is canceled.
102 void OnHeadersReceivedCallback(int result); 106 void OnHeadersReceivedCallback(int result);
103 void OnStartCompleted(int result); 107 void OnStartCompleted(int result);
104 void OnReadCompleted(int result); 108 void OnReadCompleted(int result);
105 void NotifyBeforeStartTransactionCallback(int result); 109 void NotifyBeforeStartTransactionCallback(int result);
106 void NotifyBeforeSendHeadersCallback(const ProxyInfo& proxy_info, 110 void NotifyBeforeSendHeadersCallback(const ProxyInfo& proxy_info,
107 HttpRequestHeaders* request_headers); 111 HttpRequestHeaders* request_headers);
108 112
109 void RestartTransactionWithAuth(const AuthCredentials& credentials); 113 void RestartTransactionWithAuth(const AuthCredentials& credentials);
110 114
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 int64_t total_sent_bytes_from_previous_transactions_; 264 int64_t total_sent_bytes_from_previous_transactions_;
261 265
262 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; 266 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_;
263 267
264 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 268 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
265 }; 269 };
266 270
267 } // namespace net 271 } // namespace net
268 272
269 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 273 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_context_storage.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698