summaryrefslogtreecommitdiffstats
path: root/net/base/cookie_policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/cookie_policy.h')
-rw-r--r--net/base/cookie_policy.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/base/cookie_policy.h b/net/base/cookie_policy.h
index c32c8a9..43b689f 100644
--- a/net/base/cookie_policy.h
+++ b/net/base/cookie_policy.h
@@ -21,6 +21,8 @@ enum {
class CookiePolicy {
public:
+ virtual ~CookiePolicy() {}
+
// Determines if the URL's cookies may be read.
//
// Returns:
@@ -57,9 +59,6 @@ class CookiePolicy {
const GURL& first_party_for_cookies,
const std::string& cookie_line,
CompletionCallback* callback) = 0;
-
- protected:
- virtual ~CookiePolicy() {}
};
} // namespace net