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

Side by Side Diff: net/http/http_network_session.h

Issue 2414883005: TEMP DO NOT LAND (Closed)
Patch Set: tmp Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 13 matching lines...) Expand all
24 #include "net/base/host_port_pair.h" 24 #include "net/base/host_port_pair.h"
25 #include "net/base/net_export.h" 25 #include "net/base/net_export.h"
26 #include "net/dns/host_resolver.h" 26 #include "net/dns/host_resolver.h"
27 #include "net/http/http_auth_cache.h" 27 #include "net/http/http_auth_cache.h"
28 #include "net/http/http_stream_factory.h" 28 #include "net/http/http_stream_factory.h"
29 #include "net/quic/chromium/quic_stream_factory.h" 29 #include "net/quic/chromium/quic_stream_factory.h"
30 #include "net/socket/next_proto.h" 30 #include "net/socket/next_proto.h"
31 #include "net/spdy/spdy_session_pool.h" 31 #include "net/spdy/spdy_session_pool.h"
32 #include "net/ssl/ssl_client_auth_cache.h" 32 #include "net/ssl/ssl_client_auth_cache.h"
33 33
34
34 namespace base { 35 namespace base {
35 class Value; 36 class Value;
37 namespace trace_event {
38 class MemoryAllocatorDump;
39 }
36 } 40 }
37 41
38 namespace net { 42 namespace net {
39 43
40 class CTPolicyEnforcer; 44 class CTPolicyEnforcer;
41 class CertVerifier; 45 class CertVerifier;
42 class ChannelIDService; 46 class ChannelIDService;
43 class ClientSocketFactory; 47 class ClientSocketFactory;
44 class ClientSocketPoolManager; 48 class ClientSocketPoolManager;
45 class CTVerifier; 49 class CTVerifier;
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 276
273 // Populates |*alpn_protos| with protocols to be used with ALPN. 277 // Populates |*alpn_protos| with protocols to be used with ALPN.
274 void GetAlpnProtos(NextProtoVector* alpn_protos) const; 278 void GetAlpnProtos(NextProtoVector* alpn_protos) const;
275 279
276 // Populates |server_config| and |proxy_config| based on this session and 280 // Populates |server_config| and |proxy_config| based on this session and
277 // |request|. 281 // |request|.
278 void GetSSLConfig(const HttpRequestInfo& request, 282 void GetSSLConfig(const HttpRequestInfo& request,
279 SSLConfig* server_config, 283 SSLConfig* server_config,
280 SSLConfig* proxy_config) const; 284 SSLConfig* proxy_config) const;
281 285
286 void PopulateAllocatorDump(base::trace_event::MemoryAllocatorDump* dump) const ;
287
282 private: 288 private:
283 friend class HttpNetworkSessionPeer; 289 friend class HttpNetworkSessionPeer;
284 290
285 ClientSocketPoolManager* GetSocketPoolManager(SocketPoolType pool_type); 291 ClientSocketPoolManager* GetSocketPoolManager(SocketPoolType pool_type);
286 292
287 // Flush sockets on low memory notifications callback. 293 // Flush sockets on low memory notifications callback.
288 void OnMemoryPressure( 294 void OnMemoryPressure(
289 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); 295 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level);
290 296
291 // base::MemoryCoordinatorClient implementation: 297 // base::MemoryCoordinatorClient implementation:
(...skipping 23 matching lines...) Expand all
315 NextProtoVector next_protos_; 321 NextProtoVector next_protos_;
316 322
317 Params params_; 323 Params params_;
318 324
319 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 325 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
320 }; 326 };
321 327
322 } // namespace net 328 } // namespace net
323 329
324 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 330 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698