Commit fb6705a1 authored by rtenneti@chromium.org's avatar rtenneti@chromium.org

Added .googleusercontent.com to the canonical_suffixes for alternate protocol.

R=rch@chromium.org
BUG=

Review URL: https://codereview.chromium.org/299313002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273065 0039d316-1c4b-4281-b951-d872f2087c98
parent 2684d75e
...@@ -29,6 +29,7 @@ HttpServerPropertiesImpl::HttpServerPropertiesImpl() ...@@ -29,6 +29,7 @@ HttpServerPropertiesImpl::HttpServerPropertiesImpl()
weak_ptr_factory_(this) { weak_ptr_factory_(this) {
canoncial_suffixes_.push_back(".c.youtube.com"); canoncial_suffixes_.push_back(".c.youtube.com");
canoncial_suffixes_.push_back(".googlevideo.com"); canoncial_suffixes_.push_back(".googlevideo.com");
canoncial_suffixes_.push_back(".googleusercontent.com");
} }
HttpServerPropertiesImpl::~HttpServerPropertiesImpl() { HttpServerPropertiesImpl::~HttpServerPropertiesImpl() {
......
...@@ -180,7 +180,7 @@ class NET_EXPORT HttpServerPropertiesImpl ...@@ -180,7 +180,7 @@ class NET_EXPORT HttpServerPropertiesImpl
// actual origin, which has a plausible alternate protocol mapping. // actual origin, which has a plausible alternate protocol mapping.
CanonicalHostMap canonical_host_to_origin_map_; CanonicalHostMap canonical_host_to_origin_map_;
// Contains list of suffixes (for exmaple ".c.youtube.com", // Contains list of suffixes (for exmaple ".c.youtube.com",
// ".googlevideo.com") of canoncial hostnames. // ".googlevideo.com", ".googleusercontent.com") of canoncial hostnames.
CanonicalSufficList canoncial_suffixes_; CanonicalSufficList canoncial_suffixes_;
base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment