summaryrefslogtreecommitdiffstats
path: root/net/base/sdch_manager.h
diff options
context:
space:
mode:
authorjar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-23 17:16:54 +0000
committerjar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-23 17:16:54 +0000
commit963582352b0a890b3adf61884444208f8b8ad03d (patch)
tree70197c8fe1ebc73c4a2071e98c3d5d78efd1a28d /net/base/sdch_manager.h
parent7d784ef0be7ec8a23d13318cd5fbb03b25816ceb (diff)
downloadchromium_src-963582352b0a890b3adf61884444208f8b8ad03d.zip
chromium_src-963582352b0a890b3adf61884444208f8b8ad03d.tar.gz
chromium_src-963582352b0a890b3adf61884444208f8b8ad03d.tar.bz2
Correct typo with containing extra declarations in header
r=pinkerton Review URL: http://codereview.chromium.org/4045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2496 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/sdch_manager.h')
-rw-r--r--net/base/sdch_manager.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h
index 36679f2..7926b52 100644
--- a/net/base/sdch_manager.h
+++ b/net/base/sdch_manager.h
@@ -30,7 +30,7 @@
//------------------------------------------------------------------------------
-// Create a public interface to help us load SDCH dictionaries.
+// Create a public interface to help us load SDCH dictionaries.
// The SdchManager class allows registration to support this interface.
// A browser may register a fetcher that is used by the dictionary managers to
// get data from a specified URL. This allows us to use very high level browser
@@ -95,10 +95,6 @@ class SdchManager {
// Compare domains to see if the "match" for dictionary use.
static bool DomainMatch(const GURL& url, const std::string& restriction);
- // Each dictionary payload consists of several headers, followed by the text
- // of the dictionary. The following are the known headers.
- std::string domain_attribute_;
- std::set<int> ports_;
// The actual text of the dictionary.
std::string text_;
@@ -112,10 +108,12 @@ class SdchManager {
const GURL url_;
// Metadate "headers" in before dictionary text contained the following:
+ // Each dictionary payload consists of several headers, followed by the text
+ // of the dictionary. The following are the known headers.
const std::string domain_;
const std::string path_;
const Time expiration_; // Implied by max-age.
- const std::set<int> ports;
+ const std::set<int> ports_;
DISALLOW_COPY_AND_ASSIGN(Dictionary);
};
@@ -137,7 +135,7 @@ class SdchManager {
global_->supported_domain_ = domain;
global_->sdch_enabled_ = true;
}
-
+
const bool IsInSupportedDomain(const GURL& url) const;
// Schedule the URL fetching to load a dictionary. This will generally return
@@ -160,7 +158,8 @@ class SdchManager {
// Caller is responsible for AddRef()ing the dictionary, and Release()ing it
// when done.
// Return null in |dictionary| if there is no matching legal dictionary.
- void GetVcdiffDictionary(const std::string& server_hash, const GURL& referring_url,
+ void GetVcdiffDictionary(const std::string& server_hash,
+ const GURL& referring_url,
Dictionary** dictionary);
// Get list of available (pre-cached) dictionaries that we have already loaded