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

Side by Side Diff: net/http/http_network_transaction.h

Issue 1422573008: Plumbing SSLPrivateKey (//net) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing un-needed forward decl. Created 5 years, 1 month 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/http/http_cache_transaction.cc ('k') | net/http/http_network_transaction.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_HTTP_HTTP_NETWORK_TRANSACTION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 19 matching lines...) Expand all
30 namespace net { 30 namespace net {
31 31
32 class ClientSocketHandle; 32 class ClientSocketHandle;
33 class HttpAuthController; 33 class HttpAuthController;
34 class HttpNetworkSession; 34 class HttpNetworkSession;
35 class HttpStream; 35 class HttpStream;
36 class HttpStreamRequest; 36 class HttpStreamRequest;
37 class IOBuffer; 37 class IOBuffer;
38 class ProxyInfo; 38 class ProxyInfo;
39 class SpdySession; 39 class SpdySession;
40 class SSLPrivateKey;
40 struct HttpRequestInfo; 41 struct HttpRequestInfo;
41 42
42 class NET_EXPORT_PRIVATE HttpNetworkTransaction 43 class NET_EXPORT_PRIVATE HttpNetworkTransaction
43 : public HttpTransaction, 44 : public HttpTransaction,
44 public HttpStreamRequest::Delegate { 45 public HttpStreamRequest::Delegate {
45 public: 46 public:
46 HttpNetworkTransaction(RequestPriority priority, 47 HttpNetworkTransaction(RequestPriority priority,
47 HttpNetworkSession* session); 48 HttpNetworkSession* session);
48 49
49 ~HttpNetworkTransaction() override; 50 ~HttpNetworkTransaction() override;
50 51
51 // HttpTransaction methods: 52 // HttpTransaction methods:
52 int Start(const HttpRequestInfo* request_info, 53 int Start(const HttpRequestInfo* request_info,
53 const CompletionCallback& callback, 54 const CompletionCallback& callback,
54 const BoundNetLog& net_log) override; 55 const BoundNetLog& net_log) override;
55 int RestartIgnoringLastError(const CompletionCallback& callback) override; 56 int RestartIgnoringLastError(const CompletionCallback& callback) override;
56 int RestartWithCertificate(X509Certificate* client_cert, 57 int RestartWithCertificate(X509Certificate* client_cert,
58 SSLPrivateKey* client_private_key,
57 const CompletionCallback& callback) override; 59 const CompletionCallback& callback) override;
58 int RestartWithAuth(const AuthCredentials& credentials, 60 int RestartWithAuth(const AuthCredentials& credentials,
59 const CompletionCallback& callback) override; 61 const CompletionCallback& callback) override;
60 bool IsReadyToRestartForAuth() override; 62 bool IsReadyToRestartForAuth() override;
61 63
62 int Read(IOBuffer* buf, 64 int Read(IOBuffer* buf,
63 int buf_len, 65 int buf_len,
64 const CompletionCallback& callback) override; 66 const CompletionCallback& callback) override;
65 void StopCaching() override; 67 void StopCaching() override;
66 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; 68 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override;
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 355
354 ConnectionAttempts connection_attempts_; 356 ConnectionAttempts connection_attempts_;
355 IPEndPoint remote_endpoint_; 357 IPEndPoint remote_endpoint_;
356 358
357 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 359 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
358 }; 360 };
359 361
360 } // namespace net 362 } // namespace net
361 363
362 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 364 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698