From dedec0b98955617acca49f50627a6d18d1f7958e Mon Sep 17 00:00:00 2001 From: "rsleevi@chromium.org" Date: Thu, 28 Feb 2013 04:50:10 +0000 Subject: 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 --- net/cookies/parsed_cookie.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'net/cookies/parsed_cookie.h') 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_; -- cgit v1.1