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

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

Issue 10834215: Remove static variables from HttpStreamFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo Created 8 years, 3 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.cc ('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) 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_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 #include <vector> 10 #include <vector>
(...skipping 25 matching lines...) Expand all
36 const SSLConfig& server_ssl_config, 36 const SSLConfig& server_ssl_config,
37 const SSLConfig& proxy_ssl_config, 37 const SSLConfig& proxy_ssl_config,
38 HttpStreamRequest::Delegate* delegate, 38 HttpStreamRequest::Delegate* delegate,
39 const BoundNetLog& net_log) OVERRIDE; 39 const BoundNetLog& net_log) OVERRIDE;
40 40
41 virtual void PreconnectStreams(int num_streams, 41 virtual void PreconnectStreams(int num_streams,
42 const HttpRequestInfo& info, 42 const HttpRequestInfo& info,
43 const SSLConfig& server_ssl_config, 43 const SSLConfig& server_ssl_config,
44 const SSLConfig& proxy_ssl_config) OVERRIDE; 44 const SSLConfig& proxy_ssl_config) OVERRIDE;
45 virtual base::Value* PipelineInfoToValue() const OVERRIDE; 45 virtual base::Value* PipelineInfoToValue() const OVERRIDE;
46 virtual const HostMappingRules* GetHostMappingRules() const OVERRIDE;
46 47
47 // HttpPipelinedHostPool::Delegate interface 48 // HttpPipelinedHostPool::Delegate interface
48 virtual void OnHttpPipelinedHostHasAdditionalCapacity( 49 virtual void OnHttpPipelinedHostHasAdditionalCapacity(
49 HttpPipelinedHost* host) OVERRIDE; 50 HttpPipelinedHost* host) OVERRIDE;
50 51
51 private: 52 private:
52 class Request; 53 class Request;
53 class Job; 54 class Job;
54 55
55 typedef std::set<Request*> RequestSet; 56 typedef std::set<Request*> RequestSet;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // object. They're owned by HttpStreamFactoryImpl. Leftover jobs will be 119 // object. They're owned by HttpStreamFactoryImpl. Leftover jobs will be
119 // deleted when the factory is destroyed. 120 // deleted when the factory is destroyed.
120 std::set<const Job*> preconnect_job_set_; 121 std::set<const Job*> preconnect_job_set_;
121 122
122 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); 123 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl);
123 }; 124 };
124 125
125 } // namespace net 126 } // namespace net
126 127
127 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 128 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_factory.cc ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698