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

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

Issue 299313002: Added .googleusercontent.com to the canonical_suffixes for alternate protocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 BrokenAlternateProtocolMap broken_alternate_protocol_map_; 189 BrokenAlternateProtocolMap broken_alternate_protocol_map_;
190 190
191 SpdySettingsMap spdy_settings_map_; 191 SpdySettingsMap spdy_settings_map_;
192 ServerNetworkStatsMap server_network_stats_map_; 192 ServerNetworkStatsMap server_network_stats_map_;
193 scoped_ptr<CachedPipelineCapabilityMap> pipeline_capability_map_; 193 scoped_ptr<CachedPipelineCapabilityMap> pipeline_capability_map_;
194 // Contains a map of servers which could share the same alternate protocol. 194 // Contains a map of servers which could share the same alternate protocol.
195 // Map from a Canonical host/port (host is some postfix of host names) to an 195 // Map from a Canonical host/port (host is some postfix of host names) to an
196 // actual origin, which has a plausible alternate protocol mapping. 196 // actual origin, which has a plausible alternate protocol mapping.
197 CanonicalHostMap canonical_host_to_origin_map_; 197 CanonicalHostMap canonical_host_to_origin_map_;
198 // Contains list of suffixes (for exmaple ".c.youtube.com", 198 // Contains list of suffixes (for exmaple ".c.youtube.com",
199 // ".googlevideo.com") of canoncial hostnames. 199 // ".googlevideo.com", ".googleusercontent.com") of canoncial hostnames.
200 CanonicalSufficList canoncial_suffixes_; 200 CanonicalSufficList canoncial_suffixes_;
201 201
202 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; 202 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
203 203
204 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 204 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
205 }; 205 };
206 206
207 } // namespace net 207 } // namespace net
208 208
209 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 209 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698