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

Side by Side Diff: chrome/browser/devtools/devtools_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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 std::unique_ptr<net::HttpTransaction> network_transaction); 52 std::unique_ptr<net::HttpTransaction> network_transaction);
53 53
54 ~DevToolsNetworkTransaction() override; 54 ~DevToolsNetworkTransaction() override;
55 55
56 // HttpTransaction methods: 56 // HttpTransaction methods:
57 int Start(const net::HttpRequestInfo* request, 57 int Start(const net::HttpRequestInfo* request,
58 const net::CompletionCallback& callback, 58 const net::CompletionCallback& callback,
59 const net::NetLogWithSource& net_log) override; 59 const net::NetLogWithSource& net_log) override;
60 int RestartIgnoringLastError( 60 int RestartIgnoringLastError(
61 const net::CompletionCallback& callback) override; 61 const net::CompletionCallback& callback) override;
62 int RestartWithCertificate(net::X509Certificate* client_cert, 62 int RestartWithCertificate(
63 net::SSLPrivateKey* client_private_key, 63 scoped_refptr<net::X509Certificate> client_cert,
64 const net::CompletionCallback& callback) override; 64 scoped_refptr<net::SSLPrivateKey> client_private_key,
65 const net::CompletionCallback& callback) override;
65 int RestartWithAuth(const net::AuthCredentials& credentials, 66 int RestartWithAuth(const net::AuthCredentials& credentials,
66 const net::CompletionCallback& callback) override; 67 const net::CompletionCallback& callback) override;
67 bool IsReadyToRestartForAuth() override; 68 bool IsReadyToRestartForAuth() override;
68 69
69 int Read(net::IOBuffer* buf, 70 int Read(net::IOBuffer* buf,
70 int buf_len, 71 int buf_len,
71 const net::CompletionCallback& callback) override; 72 const net::CompletionCallback& callback) override;
72 void StopCaching() override; 73 void StopCaching() override;
73 bool GetFullRequestHeaders(net::HttpRequestHeaders* headers) const override; 74 bool GetFullRequestHeaders(net::HttpRequestHeaders* headers) const override;
74 int64_t GetTotalReceivedBytes() const override; 75 int64_t GetTotalReceivedBytes() const override;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 125
125 const net::HttpRequestInfo* request_; 126 const net::HttpRequestInfo* request_;
126 127
127 // True if Fail was already invoked. 128 // True if Fail was already invoked.
128 bool failed_; 129 bool failed_;
129 130
130 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction); 131 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction);
131 }; 132 };
132 133
133 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ 134 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/platform_keys/platform_keys_nss.cc ('k') | chrome/browser/devtools/devtools_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698