summaryrefslogtreecommitdiffstats
path: root/net/cookies/parsed_cookie.h
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-28 04:50:10 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-28 04:50:10 +0000
commitdedec0b98955617acca49f50627a6d18d1f7958e (patch)
tree159fa18bbe7e89598ce3d07025a43802c17e7050 /net/cookies/parsed_cookie.h
parentd2a2ca70268d37cc4958ece3ef02c7345a7dd54d (diff)
downloadchromium_src-dedec0b98955617acca49f50627a6d18d1f7958e.zip
chromium_src-dedec0b98955617acca49f50627a6d18d1f7958e.tar.gz
chromium_src-dedec0b98955617acca49f50627a6d18d1f7958e.tar.bz2
Remove the last traces of experimental support for MAC cookies
Support for MAC cookies was mostly removed in r126928. However, changes to the cookie store were not fully reverted, and new callsites were introduced due to the interface changes. This fully removes the interfaces introduced for MAC cookies, including the CookieMonster::CookieInfo class. BUG=none TBR=willchan Review URL: https://chromiumcodereview.appspot.com/12326056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185160 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/cookies/parsed_cookie.h')
-rw-r--r--net/cookies/parsed_cookie.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/cookies/parsed_cookie.h b/net/cookies/parsed_cookie.h
index 694d724..43afa4b 100644
--- a/net/cookies/parsed_cookie.h
+++ b/net/cookies/parsed_cookie.h
@@ -39,12 +39,6 @@ class NET_EXPORT ParsedCookie {
const std::string& Path() const { return pairs_[path_index_].second; }
bool HasDomain() const { return domain_index_ != 0; }
const std::string& Domain() const { return pairs_[domain_index_].second; }
- bool HasMACKey() const { return mac_key_index_ != 0; }
- const std::string& MACKey() const { return pairs_[mac_key_index_].second; }
- bool HasMACAlgorithm() const { return mac_algorithm_index_ != 0; }
- const std::string& MACAlgorithm() const {
- return pairs_[mac_algorithm_index_].second;
- }
bool HasExpires() const { return expires_index_ != 0; }
const std::string& Expires() const { return pairs_[expires_index_].second; }
bool HasMaxAge() const { return maxage_index_ != 0; }
@@ -65,8 +59,6 @@ class NET_EXPORT ParsedCookie {
bool SetValue(const std::string& value);
bool SetPath(const std::string& path);
bool SetDomain(const std::string& domain);
- bool SetMACKey(const std::string& mac_key);
- bool SetMACAlgorithm(const std::string& mac_algorithm);
bool SetExpires(const std::string& expires);
bool SetMaxAge(const std::string& maxage);
bool SetIsSecure(bool is_secure);
@@ -138,8 +130,6 @@ class NET_EXPORT ParsedCookie {
// could fit these into 3 bits each if we're worried about size...
size_t path_index_;
size_t domain_index_;
- size_t mac_key_index_;
- size_t mac_algorithm_index_;
size_t expires_index_;
size_t maxage_index_;
size_t secure_index_;