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

Side by Side Diff: chrome/browser/devtools/devtools_network_transaction.h

Issue 1422573008: Plumbing SSLPrivateKey (//net) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing extra tab. 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
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 "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 10 matching lines...) Expand all
21 21
22 namespace net { 22 namespace net {
23 class AuthCredentials; 23 class AuthCredentials;
24 class BoundNetLog; 24 class BoundNetLog;
25 class HttpRequestHeaders; 25 class HttpRequestHeaders;
26 struct HttpRequestInfo; 26 struct HttpRequestInfo;
27 class HttpResponseInfo; 27 class HttpResponseInfo;
28 class HttpNetworkSession; 28 class HttpNetworkSession;
29 class IOBuffer; 29 class IOBuffer;
30 struct LoadTimingInfo; 30 struct LoadTimingInfo;
31 class SSLPrivateKey;
31 class UploadProgress; 32 class UploadProgress;
32 class X509Certificate; 33 class X509Certificate;
33 } // namespace net 34 } // namespace net
34 35
35 namespace test { 36 namespace test {
36 class DevToolsNetworkControllerHelper; 37 class DevToolsNetworkControllerHelper;
37 } 38 }
38 39
39 // DevToolsNetworkTransaction is a wrapper for network transaction. All 40 // DevToolsNetworkTransaction is a wrapper for network transaction. All
40 // HttpTransaction methods are proxied to real transaction, but |callback| 41 // HttpTransaction methods are proxied to real transaction, but |callback|
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 77
77 void FireThrottledCallback(); 78 void FireThrottledCallback();
78 79
79 // HttpTransaction methods: 80 // HttpTransaction methods:
80 int Start(const net::HttpRequestInfo* request, 81 int Start(const net::HttpRequestInfo* request,
81 const net::CompletionCallback& callback, 82 const net::CompletionCallback& callback,
82 const net::BoundNetLog& net_log) override; 83 const net::BoundNetLog& net_log) override;
83 int RestartIgnoringLastError( 84 int RestartIgnoringLastError(
84 const net::CompletionCallback& callback) override; 85 const net::CompletionCallback& callback) override;
85 int RestartWithCertificate(net::X509Certificate* client_cert, 86 int RestartWithCertificate(net::X509Certificate* client_cert,
87 net::SSLPrivateKey* client_private_key,
86 const net::CompletionCallback& callback) override; 88 const net::CompletionCallback& callback) override;
87 int RestartWithAuth(const net::AuthCredentials& credentials, 89 int RestartWithAuth(const net::AuthCredentials& credentials,
88 const net::CompletionCallback& callback) override; 90 const net::CompletionCallback& callback) override;
89 bool IsReadyToRestartForAuth() override; 91 bool IsReadyToRestartForAuth() override;
90 92
91 int Read(net::IOBuffer* buf, 93 int Read(net::IOBuffer* buf,
92 int buf_len, 94 int buf_len,
93 const net::CompletionCallback& callback) override; 95 const net::CompletionCallback& callback) override;
94 void StopCaching() override; 96 void StopCaching() override;
95 bool GetFullRequestHeaders(net::HttpRequestHeaders* headers) const override; 97 bool GetFullRequestHeaders(net::HttpRequestHeaders* headers) const override;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 int throttled_result_; 160 int throttled_result_;
159 int64_t throttled_byte_count_; 161 int64_t throttled_byte_count_;
160 CallbackType callback_type_; 162 CallbackType callback_type_;
161 net::CompletionCallback proxy_callback_; 163 net::CompletionCallback proxy_callback_;
162 net::CompletionCallback callback_; 164 net::CompletionCallback callback_;
163 165
164 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction); 166 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction);
165 }; 167 };
166 168
167 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ 169 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698