diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 19:06:43 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 19:06:43 +0000 |
commit | f24ab372e7f2ace6a67e0d1d3fc02e793202d8e9 (patch) | |
tree | 2f1ec6590be11056b1a808369c836a707c984b13 /net/base/sdch_manager.h | |
parent | 66b2bc1ccd6a7d41b71b602b2983aa81527f9c8f (diff) | |
download | chromium_src-f24ab372e7f2ace6a67e0d1d3fc02e793202d8e9.zip chromium_src-f24ab372e7f2ace6a67e0d1d3fc02e793202d8e9.tar.gz chromium_src-f24ab372e7f2ace6a67e0d1d3fc02e793202d8e9.tar.bz2 |
Revert 3024, broke mac build.
Review URL: http://codereview.chromium.org/6351
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3027 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/sdch_manager.h')
-rw-r--r-- | net/base/sdch_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h index ae5f2d3..7926b52 100644 --- a/net/base/sdch_manager.h +++ b/net/base/sdch_manager.h @@ -72,6 +72,9 @@ class SdchManager { const GURL& url() const { return url_; } const std::string& client_hash() const { return client_hash_; } + // For a given URL, get the actual or default port. + static int GetPortIncludingDefault(const GURL& url); + // Security method to check if we can advertise this dictionary for use // if the |target_url| returns SDCH compressed data. bool CanAdvertise(const GURL& target_url); |