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

Side by Side Diff: net/url_request/url_request_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_http_job.cc ('k') | net/url_request/url_request_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_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_JOB_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // Fills the authentication info with the server's response. 173 // Fills the authentication info with the server's response.
174 virtual void GetAuthChallengeInfo( 174 virtual void GetAuthChallengeInfo(
175 scoped_refptr<AuthChallengeInfo>* auth_info); 175 scoped_refptr<AuthChallengeInfo>* auth_info);
176 176
177 // Resend the request with authentication credentials. 177 // Resend the request with authentication credentials.
178 virtual void SetAuth(const AuthCredentials& credentials); 178 virtual void SetAuth(const AuthCredentials& credentials);
179 179
180 // Display the error page without asking for credentials again. 180 // Display the error page without asking for credentials again.
181 virtual void CancelAuth(); 181 virtual void CancelAuth();
182 182
183 virtual void ContinueWithCertificate(X509Certificate* client_cert, 183 virtual void ContinueWithCertificate(
184 SSLPrivateKey* client_private_key); 184 scoped_refptr<X509Certificate> client_cert,
185 scoped_refptr<SSLPrivateKey> client_private_key);
185 186
186 // Continue processing the request ignoring the last error. 187 // Continue processing the request ignoring the last error.
187 virtual void ContinueDespiteLastError(); 188 virtual void ContinueDespiteLastError();
188 189
189 void FollowDeferredRedirect(); 190 void FollowDeferredRedirect();
190 191
191 // Returns true if the Job is done producing response data and has called 192 // Returns true if the Job is done producing response data and has called
192 // NotifyDone on the request. 193 // NotifyDone on the request.
193 bool is_done() const { return done_; } 194 bool is_done() const { return done_; }
194 195
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 CompletionCallback read_raw_callback_; 444 CompletionCallback read_raw_callback_;
444 445
445 base::WeakPtrFactory<URLRequestJob> weak_factory_; 446 base::WeakPtrFactory<URLRequestJob> weak_factory_;
446 447
447 DISALLOW_COPY_AND_ASSIGN(URLRequestJob); 448 DISALLOW_COPY_AND_ASSIGN(URLRequestJob);
448 }; 449 };
449 450
450 } // namespace net 451 } // namespace net
451 452
452 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_ 453 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698