summaryrefslogtreecommitdiffstats
path: root/net/base/static_cookie_policy.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-26 14:26:09 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-26 14:26:09 +0000
commit5b52ad495b1afcfb6c71259cfa8e18dec60378aa (patch)
tree64a43712584282e504f188711dbc5ab5b61cd1df /net/base/static_cookie_policy.h
parent4d7715c250719cf357e156425d9226740329d9ec (diff)
downloadchromium_src-5b52ad495b1afcfb6c71259cfa8e18dec60378aa.zip
chromium_src-5b52ad495b1afcfb6c71259cfa8e18dec60378aa.tar.gz
chromium_src-5b52ad495b1afcfb6c71259cfa8e18dec60378aa.tar.bz2
Apply third party cookie blocking to all kinds of cookies
BUG=72586 TEST=HostContentSettingsMapTest.Cookies* Review URL: http://codereview.chromium.org/7008025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/static_cookie_policy.h')
-rw-r--r--net/base/static_cookie_policy.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/base/static_cookie_policy.h b/net/base/static_cookie_policy.h
index 2eb4d49..99a929c 100644
--- a/net/base/static_cookie_policy.h
+++ b/net/base/static_cookie_policy.h
@@ -6,8 +6,6 @@
#define NET_BASE_STATIC_COOKIE_POLICY_H_
#pragma once
-#include <string>
-
#include "base/basictypes.h"
#include "net/base/net_api.h"
@@ -52,8 +50,7 @@ class NET_API StaticCookiePolicy {
// Consults the user's third-party cookie blocking preferences to determine
// whether the URL's cookies can be set.
int CanSetCookie(const GURL& url,
- const GURL& first_party_for_cookies,
- const std::string& cookie_line) const;
+ const GURL& first_party_for_cookies) const;
private:
Type type_;