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

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

Issue 1304143010: Plumbing SSLPrivateKey Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 2 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 "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "net/base/completion_callback.h" 12 #include "net/base/completion_callback.h"
13 #include "net/base/load_states.h" 13 #include "net/base/load_states.h"
14 #include "net/base/request_priority.h" 14 #include "net/base/request_priority.h"
15 #include "net/http/http_transaction.h" 15 #include "net/http/http_transaction.h"
16 #include "net/ssl/ssl_private_key.h"
davidben 2015/09/25 20:10:11 Forward decl / unnecessary because this is part of
svaldez 2015/09/28 16:54:52 Done.
16 #include "net/websockets/websocket_handshake_stream_base.h" 17 #include "net/websockets/websocket_handshake_stream_base.h"
17 18
18 class DevToolsNetworkController; 19 class DevToolsNetworkController;
19 class DevToolsNetworkInterceptor; 20 class DevToolsNetworkInterceptor;
20 class GURL; 21 class GURL;
21 22
22 namespace net { 23 namespace net {
23 class AuthCredentials; 24 class AuthCredentials;
24 class BoundNetLog; 25 class BoundNetLog;
25 class HttpRequestHeaders; 26 class HttpRequestHeaders;
(...skipping 50 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_pkey,
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 int throttled_result_; 159 int throttled_result_;
158 int64_t throttled_byte_count_; 160 int64_t throttled_byte_count_;
159 CallbackType callback_type_; 161 CallbackType callback_type_;
160 net::CompletionCallback proxy_callback_; 162 net::CompletionCallback proxy_callback_;
161 net::CompletionCallback callback_; 163 net::CompletionCallback callback_;
162 164
163 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction); 165 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction);
164 }; 166 };
165 167
166 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ 168 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698