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

Unified Diff: net/http/http_server_properties_impl.h

Issue 2068423002: Cleanup usage of canonical_suffixes in HttpServerPropertiesImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ClearAlternativeServices
Patch Set: fix comments Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties_impl.h
diff --git a/net/http/http_server_properties_impl.h b/net/http/http_server_properties_impl.h
index 32c5f36a08d50fd3025188b8740d1fc1f244c72b..116b81f6625e85a35a905f172a676bb5cbbda4bb 100644
--- a/net/http/http_server_properties_impl.h
+++ b/net/http/http_server_properties_impl.h
@@ -69,9 +69,9 @@ class NET_EXPORT HttpServerPropertiesImpl
// unittests.
static std::string GetFlattenedSpdyServer(const HostPortPair& host_port_pair);
- // Returns the canonical host suffix for |host|, or std::string() if none
+ // Returns the canonical host suffix for |host|, or nullptr if none
// exists.
- std::string GetCanonicalSuffix(const std::string& host);
+ const std::string* GetCanonicalSuffix(const std::string& host) const;
// -----------------------------
// HttpServerProperties methods:
« 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