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