summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-27 23:14:36 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-27 23:14:36 +0000
commitfb6705a1007e4e6302e40ee9e58f3abe5c833d6e (patch)
tree1080b9943ad0f86676be8eb457780eb7fca6a26c /net
parent2684d75edbe164bce9f81c14afbc344e4649fdb3 (diff)
downloadchromium_src-fb6705a1007e4e6302e40ee9e58f3abe5c833d6e.zip
chromium_src-fb6705a1007e4e6302e40ee9e58f3abe5c833d6e.tar.gz
chromium_src-fb6705a1007e4e6302e40ee9e58f3abe5c833d6e.tar.bz2
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
Diffstat (limited to 'net')
-rw-r--r--net/http/http_server_properties_impl.cc1
-rw-r--r--net/http/http_server_properties_impl.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/net/http/http_server_properties_impl.cc b/net/http/http_server_properties_impl.cc
index 45d8758..c662d9e 100644
--- a/net/http/http_server_properties_impl.cc
+++ b/net/http/http_server_properties_impl.cc
@@ -29,6 +29,7 @@ HttpServerPropertiesImpl::HttpServerPropertiesImpl()
weak_ptr_factory_(this) {
canoncial_suffixes_.push_back(".c.youtube.com");
canoncial_suffixes_.push_back(".googlevideo.com");
+ canoncial_suffixes_.push_back(".googleusercontent.com");
}
HttpServerPropertiesImpl::~HttpServerPropertiesImpl() {
diff --git a/net/http/http_server_properties_impl.h b/net/http/http_server_properties_impl.h
index a7911cc..389c961 100644
--- a/net/http/http_server_properties_impl.h
+++ b/net/http/http_server_properties_impl.h
@@ -180,7 +180,7 @@ class NET_EXPORT HttpServerPropertiesImpl
// actual origin, which has a plausible alternate protocol mapping.
CanonicalHostMap canonical_host_to_origin_map_;
// Contains list of suffixes (for exmaple ".c.youtube.com",
- // ".googlevideo.com") of canoncial hostnames.
+ // ".googlevideo.com", ".googleusercontent.com") of canoncial hostnames.
CanonicalSufficList canoncial_suffixes_;
base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;