summaryrefslogtreecommitdiffstats
path: root/net/http/http_server_properties_impl.h
diff options
context:
space:
mode:
authorbnc <bnc@chromium.org>2015-01-30 14:44:50 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-30 22:45:38 +0000
commitc45e09b004eb4fe3f317052c072f6173c1e6986c (patch)
treec09047b0a8742cd8c41ff8639b4c67d692005506 /net/http/http_server_properties_impl.h
parenta01c664cd6802d64d212f68d1c9392a4340ca835 (diff)
downloadchromium_src-c45e09b004eb4fe3f317052c072f6173c1e6986c.zip
chromium_src-c45e09b004eb4fe3f317052c072f6173c1e6986c.tar.gz
chromium_src-c45e09b004eb4fe3f317052c072f6173c1e6986c.tar.bz2
Change GetCanonicalSuffix() interface.
This CL changes the argument of GetCanonicalSuffix() from HostPortPair to std::string (both const&) to better document the fact that GetCanonicalSuffix only operates on that field. BUG=392575 Review URL: https://codereview.chromium.org/868753007 Cr-Commit-Position: refs/heads/master@{#314014}
Diffstat (limited to 'net/http/http_server_properties_impl.h')
-rw-r--r--net/http/http_server_properties_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_server_properties_impl.h b/net/http/http_server_properties_impl.h
index 0c2f27d..7d2248f 100644
--- a/net/http/http_server_properties_impl.h
+++ b/net/http/http_server_properties_impl.h
@@ -63,9 +63,9 @@ class NET_EXPORT HttpServerPropertiesImpl
static void ForceAlternateProtocol(const AlternateProtocolInfo& pair);
static void DisableForcedAlternateProtocol();
- // Returns the canonical host suffix for |server|, or std::string() if none
+ // Returns the canonical host suffix for |host|, or std::string() if none
// exists.
- std::string GetCanonicalSuffix(const HostPortPair& server);
+ std::string GetCanonicalSuffix(const std::string& host);
// -----------------------------
// HttpServerProperties methods: