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

Side by Side Diff: net/http/http_network_transaction.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/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 <memory> 10 #include <memory>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 HttpNetworkTransaction(RequestPriority priority, 55 HttpNetworkTransaction(RequestPriority priority,
56 HttpNetworkSession* session); 56 HttpNetworkSession* session);
57 57
58 ~HttpNetworkTransaction() override; 58 ~HttpNetworkTransaction() override;
59 59
60 // HttpTransaction methods: 60 // HttpTransaction methods:
61 int Start(const HttpRequestInfo* request_info, 61 int Start(const HttpRequestInfo* request_info,
62 const CompletionCallback& callback, 62 const CompletionCallback& callback,
63 const NetLogWithSource& net_log) override; 63 const NetLogWithSource& net_log) override;
64 int RestartIgnoringLastError(const CompletionCallback& callback) override; 64 int RestartIgnoringLastError(const CompletionCallback& callback) override;
65 int RestartWithCertificate(X509Certificate* client_cert, 65 int RestartWithCertificate(scoped_refptr<X509Certificate> client_cert,
66 SSLPrivateKey* client_private_key, 66 scoped_refptr<SSLPrivateKey> client_private_key,
67 const CompletionCallback& callback) override; 67 const CompletionCallback& callback) override;
68 int RestartWithAuth(const AuthCredentials& credentials, 68 int RestartWithAuth(const AuthCredentials& credentials,
69 const CompletionCallback& callback) override; 69 const CompletionCallback& callback) override;
70 bool IsReadyToRestartForAuth() override; 70 bool IsReadyToRestartForAuth() override;
71 71
72 int Read(IOBuffer* buf, 72 int Read(IOBuffer* buf,
73 int buf_len, 73 int buf_len,
74 const CompletionCallback& callback) override; 74 const CompletionCallback& callback) override;
75 void StopCaching() override; 75 void StopCaching() override;
76 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; 76 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 // Communicate lifetime of transaction to the throttler, and 398 // Communicate lifetime of transaction to the throttler, and
399 // throttled state to the transaction. 399 // throttled state to the transaction.
400 std::unique_ptr<NetworkThrottleManager::Throttle> throttle_; 400 std::unique_ptr<NetworkThrottleManager::Throttle> throttle_;
401 401
402 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 402 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
403 }; 403 };
404 404
405 } // namespace net 405 } // namespace net
406 406
407 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 407 #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