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

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

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: removed no longer needed forward declaration Created 3 years, 6 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.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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 122 void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
123 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override; 123 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override;
124 int GetResponseCode() const override; 124 int GetResponseCode() const override;
125 void PopulateNetErrorDetails(NetErrorDetails* details) const override; 125 void PopulateNetErrorDetails(NetErrorDetails* details) const override;
126 bool CopyFragmentOnRedirect(const GURL& location) const override; 126 bool CopyFragmentOnRedirect(const GURL& location) const override;
127 bool IsSafeRedirect(const GURL& location) override; 127 bool IsSafeRedirect(const GURL& location) override;
128 bool NeedsAuth() override; 128 bool NeedsAuth() override;
129 void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) override; 129 void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) override;
130 void SetAuth(const AuthCredentials& credentials) override; 130 void SetAuth(const AuthCredentials& credentials) override;
131 void CancelAuth() override; 131 void CancelAuth() override;
132 void ContinueWithCertificate(X509Certificate* client_cert, 132 void ContinueWithCertificate(
133 SSLPrivateKey* client_private_key) override; 133 scoped_refptr<X509Certificate> client_cert,
134 scoped_refptr<SSLPrivateKey> client_private_key) override;
134 void ContinueDespiteLastError() override; 135 void ContinueDespiteLastError() override;
135 int ReadRawData(IOBuffer* buf, int buf_size) override; 136 int ReadRawData(IOBuffer* buf, int buf_size) override;
136 void StopCaching() override; 137 void StopCaching() override;
137 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; 138 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override;
138 int64_t GetTotalReceivedBytes() const override; 139 int64_t GetTotalReceivedBytes() const override;
139 int64_t GetTotalSentBytes() const override; 140 int64_t GetTotalSentBytes() const override;
140 void DoneReading() override; 141 void DoneReading() override;
141 void DoneReadingRedirectResponse() override; 142 void DoneReadingRedirectResponse() override;
142 143
143 HostPortPair GetSocketAddress() const override; 144 HostPortPair GetSocketAddress() const override;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 int64_t total_sent_bytes_from_previous_transactions_; 265 int64_t total_sent_bytes_from_previous_transactions_;
265 266
266 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; 267 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_;
267 268
268 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 269 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
269 }; 270 };
270 271
271 } // namespace net 272 } // namespace net
272 273
273 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 274 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request.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