| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 SSLCertRequestInfo* cert_info) override; | 120 SSLCertRequestInfo* cert_info) override; |
| 121 void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, | 121 void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, |
| 122 const SSLConfig& used_ssl_config, | 122 const SSLConfig& used_ssl_config, |
| 123 const ProxyInfo& used_proxy_info, | 123 const ProxyInfo& used_proxy_info, |
| 124 HttpStream* stream) override; | 124 HttpStream* stream) override; |
| 125 | 125 |
| 126 void OnQuicBroken() override; | 126 void OnQuicBroken() override; |
| 127 void GetConnectionAttempts(ConnectionAttempts* out) const override; | 127 void GetConnectionAttempts(ConnectionAttempts* out) const override; |
| 128 | 128 |
| 129 // NetworkThrottleManager::Delegate methods: | 129 // NetworkThrottleManager::Delegate methods: |
| 130 void OnThrottleStateChanged() override; | 130 void OnThrottleStateChanged( |
| 131 NetworkThrottleManager::Throttle* throttle) override; |
| 131 | 132 |
| 132 private: | 133 private: |
| 133 friend class HttpNetworkTransactionSSLTest; | 134 friend class HttpNetworkTransactionSSLTest; |
| 134 | 135 |
| 135 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, | 136 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, |
| 136 ResetStateForRestart); | 137 ResetStateForRestart); |
| 137 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, EnableNPN); | 138 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, EnableNPN); |
| 138 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, DisableNPN); | 139 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, DisableNPN); |
| 139 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, | 140 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, |
| 140 WindowUpdateReceived); | 141 WindowUpdateReceived); |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 // Communicate lifetime of transaction to the throttler, and | 408 // Communicate lifetime of transaction to the throttler, and |
| 408 // throttled state to the transaction. | 409 // throttled state to the transaction. |
| 409 std::unique_ptr<NetworkThrottleManager::Throttle> throttle_; | 410 std::unique_ptr<NetworkThrottleManager::Throttle> throttle_; |
| 410 | 411 |
| 411 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 412 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
| 412 }; | 413 }; |
| 413 | 414 |
| 414 } // namespace net | 415 } // namespace net |
| 415 | 416 |
| 416 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 417 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| OLD | NEW |