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

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

Issue 2249213002: [OBSOLETE] Reporting: Initial implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years 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
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 void ProcessReportToHeader();
102
101 // |result| should be OK, or the request is canceled. 103 // |result| should be OK, or the request is canceled.
102 void OnHeadersReceivedCallback(int result); 104 void OnHeadersReceivedCallback(int result);
103 void OnStartCompleted(int result); 105 void OnStartCompleted(int result);
104 void OnReadCompleted(int result); 106 void OnReadCompleted(int result);
105 void NotifyBeforeStartTransactionCallback(int result); 107 void NotifyBeforeStartTransactionCallback(int result);
106 void NotifyBeforeSendHeadersCallback(const ProxyInfo& proxy_info, 108 void NotifyBeforeSendHeadersCallback(const ProxyInfo& proxy_info,
107 HttpRequestHeaders* request_headers); 109 HttpRequestHeaders* request_headers);
108 110
109 void RestartTransactionWithAuth(const AuthCredentials& credentials); 111 void RestartTransactionWithAuth(const AuthCredentials& credentials);
110 112
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 int64_t total_sent_bytes_from_previous_transactions_; 262 int64_t total_sent_bytes_from_previous_transactions_;
261 263
262 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; 264 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_;
263 265
264 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 266 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
265 }; 267 };
266 268
267 } // namespace net 269 } // namespace net
268 270
269 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 271 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698