| 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_SESSION_H_ | 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ | 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 private: | 312 private: |
| 313 friend class HttpNetworkSessionPeer; | 313 friend class HttpNetworkSessionPeer; |
| 314 | 314 |
| 315 ClientSocketPoolManager* GetSocketPoolManager(SocketPoolType pool_type); | 315 ClientSocketPoolManager* GetSocketPoolManager(SocketPoolType pool_type); |
| 316 | 316 |
| 317 // Flush sockets on low memory notifications callback. | 317 // Flush sockets on low memory notifications callback. |
| 318 void OnMemoryPressure( | 318 void OnMemoryPressure( |
| 319 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); | 319 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); |
| 320 | 320 |
| 321 // base::MemoryCoordinatorClient implementation: | 321 // base::MemoryCoordinatorClient implementation: |
| 322 void OnMemoryStateChange(base::MemoryState state) override; | 322 void OnPurgeMemory() override; |
| 323 | 323 |
| 324 NetLog* const net_log_; | 324 NetLog* const net_log_; |
| 325 HttpServerProperties* const http_server_properties_; | 325 HttpServerProperties* const http_server_properties_; |
| 326 CertVerifier* const cert_verifier_; | 326 CertVerifier* const cert_verifier_; |
| 327 HttpAuthHandlerFactory* const http_auth_handler_factory_; | 327 HttpAuthHandlerFactory* const http_auth_handler_factory_; |
| 328 | 328 |
| 329 // Not const since it's modified by HttpNetworkSessionPeer for testing. | 329 // Not const since it's modified by HttpNetworkSessionPeer for testing. |
| 330 ProxyService* proxy_service_; | 330 ProxyService* proxy_service_; |
| 331 const scoped_refptr<SSLConfigService> ssl_config_service_; | 331 const scoped_refptr<SSLConfigService> ssl_config_service_; |
| 332 | 332 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 346 NextProtoVector next_protos_; | 346 NextProtoVector next_protos_; |
| 347 | 347 |
| 348 Params params_; | 348 Params params_; |
| 349 | 349 |
| 350 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 350 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 351 }; | 351 }; |
| 352 | 352 |
| 353 } // namespace net | 353 } // namespace net |
| 354 | 354 |
| 355 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 355 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |