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

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

Issue 26308002: Fix some WeakPtrFactory members that aren't last (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix weak ptr initialization Created 7 years, 2 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 | « content/renderer/pepper/message_channel.cc ('k') | net/http/http_server_properties_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_SERVER_PROPERTIES_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 virtual PipelineCapabilityMap GetPipelineCapabilityMap() const OVERRIDE; 139 virtual PipelineCapabilityMap GetPipelineCapabilityMap() const OVERRIDE;
140 140
141 private: 141 private:
142 typedef base::MRUCache< 142 typedef base::MRUCache<
143 HostPortPair, HttpPipelinedHostCapability> CachedPipelineCapabilityMap; 143 HostPortPair, HttpPipelinedHostCapability> CachedPipelineCapabilityMap;
144 // |spdy_servers_table_| has flattened representation of servers (host/port 144 // |spdy_servers_table_| has flattened representation of servers (host/port
145 // pair) that either support or not support SPDY protocol. 145 // pair) that either support or not support SPDY protocol.
146 typedef base::hash_map<std::string, bool> SpdyServerHostPortTable; 146 typedef base::hash_map<std::string, bool> SpdyServerHostPortTable;
147 147
148 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
149
150 SpdyServerHostPortTable spdy_servers_table_; 148 SpdyServerHostPortTable spdy_servers_table_;
151 149
152 AlternateProtocolMap alternate_protocol_map_; 150 AlternateProtocolMap alternate_protocol_map_;
153 SpdySettingsMap spdy_settings_map_; 151 SpdySettingsMap spdy_settings_map_;
154 scoped_ptr<CachedPipelineCapabilityMap> pipeline_capability_map_; 152 scoped_ptr<CachedPipelineCapabilityMap> pipeline_capability_map_;
155 153
154 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
155
156 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 156 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
157 }; 157 };
158 158
159 } // namespace net 159 } // namespace net
160 160
161 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 161 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/message_channel.cc ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698