OLD | NEW |
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 SSLCertRequestInfo* cert_info) override; | 117 SSLCertRequestInfo* cert_info) override; |
118 void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, | 118 void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, |
119 const SSLConfig& used_ssl_config, | 119 const SSLConfig& used_ssl_config, |
120 const ProxyInfo& used_proxy_info, | 120 const ProxyInfo& used_proxy_info, |
121 HttpStream* stream) override; | 121 HttpStream* stream) override; |
122 | 122 |
123 void OnQuicBroken() override; | 123 void OnQuicBroken() override; |
124 void GetConnectionAttempts(ConnectionAttempts* out) const override; | 124 void GetConnectionAttempts(ConnectionAttempts* out) const override; |
125 | 125 |
126 // NetworkThrottleManager::Delegate methods: | 126 // NetworkThrottleManager::Delegate methods: |
127 void OnThrottleStateChanged() override; | 127 void OnThrottleUnblocked(NetworkThrottleManager::Throttle* throttle) override; |
128 | 128 |
129 private: | 129 private: |
130 friend class HttpNetworkTransactionSSLTest; | 130 friend class HttpNetworkTransactionSSLTest; |
131 | 131 |
132 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, | 132 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, |
133 ResetStateForRestart); | 133 ResetStateForRestart); |
134 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, EnableNPN); | 134 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, EnableNPN); |
135 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, DisableNPN); | 135 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, DisableNPN); |
136 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, | 136 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, |
137 WindowUpdateReceived); | 137 WindowUpdateReceived); |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 // Communicate lifetime of transaction to the throttler, and | 396 // Communicate lifetime of transaction to the throttler, and |
397 // throttled state to the transaction. | 397 // throttled state to the transaction. |
398 std::unique_ptr<NetworkThrottleManager::Throttle> throttle_; | 398 std::unique_ptr<NetworkThrottleManager::Throttle> throttle_; |
399 | 399 |
400 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 400 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
401 }; | 401 }; |
402 | 402 |
403 } // namespace net | 403 } // namespace net |
404 | 404 |
405 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 405 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
OLD | NEW |