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

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

Issue 9225028: Add NetLog entries to preconnect HttpStreamFactoryImpl::Jobs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Sync Created 8 years, 11 months 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_stream_factory.h ('k') | net/http/http_stream_factory_impl.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) 2011 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_STREAM_FACTORY_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
(...skipping 21 matching lines...) Expand all
33 virtual HttpStreamRequest* RequestStream( 33 virtual HttpStreamRequest* RequestStream(
34 const HttpRequestInfo& info, 34 const HttpRequestInfo& info,
35 const SSLConfig& server_ssl_config, 35 const SSLConfig& server_ssl_config,
36 const SSLConfig& proxy_ssl_config, 36 const SSLConfig& proxy_ssl_config,
37 HttpStreamRequest::Delegate* delegate, 37 HttpStreamRequest::Delegate* delegate,
38 const BoundNetLog& net_log) OVERRIDE; 38 const BoundNetLog& net_log) OVERRIDE;
39 39
40 virtual void PreconnectStreams(int num_streams, 40 virtual void PreconnectStreams(int num_streams,
41 const HttpRequestInfo& info, 41 const HttpRequestInfo& info,
42 const SSLConfig& server_ssl_config, 42 const SSLConfig& server_ssl_config,
43 const SSLConfig& proxy_ssl_config, 43 const SSLConfig& proxy_ssl_config) OVERRIDE;
44 const BoundNetLog& net_log) OVERRIDE;
45 virtual void AddTLSIntolerantServer(const HostPortPair& server) OVERRIDE; 44 virtual void AddTLSIntolerantServer(const HostPortPair& server) OVERRIDE;
46 virtual bool IsTLSIntolerantServer(const HostPortPair& server) const OVERRIDE; 45 virtual bool IsTLSIntolerantServer(const HostPortPair& server) const OVERRIDE;
47 virtual base::Value* PipelineInfoToValue() const OVERRIDE; 46 virtual base::Value* PipelineInfoToValue() const OVERRIDE;
48 47
49 // HttpPipelinedHostPool::Delegate interface 48 // HttpPipelinedHostPool::Delegate interface
50 virtual void OnHttpPipelinedHostHasAdditionalCapacity( 49 virtual void OnHttpPipelinedHostHasAdditionalCapacity(
51 const HostPortPair& origin) OVERRIDE; 50 const HostPortPair& origin) OVERRIDE;
52 51
53 private: 52 private:
54 class Request; 53 class Request;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // object. They're owned by HttpStreamFactoryImpl. Leftover jobs will be 114 // object. They're owned by HttpStreamFactoryImpl. Leftover jobs will be
116 // deleted when the factory is destroyed. 115 // deleted when the factory is destroyed.
117 std::set<const Job*> preconnect_job_set_; 116 std::set<const Job*> preconnect_job_set_;
118 117
119 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); 118 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl);
120 }; 119 };
121 120
122 } // namespace net 121 } // namespace net
123 122
124 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 123 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_factory.h ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698