summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 03:39:54 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 03:39:54 +0000
commitf40061ba0477aff1326f71d663748d6359c48a19 (patch)
tree7883c33c34d6bfd7edefccdf36d14b242c9a48b9 /net/base
parentfdbc2271fbdd751361dbb1980793bb074d482242 (diff)
downloadchromium_src-f40061ba0477aff1326f71d663748d6359c48a19.zip
chromium_src-f40061ba0477aff1326f71d663748d6359c48a19.tar.gz
chromium_src-f40061ba0477aff1326f71d663748d6359c48a19.tar.bz2
Introduce OffTheRecordProfileIOData and ProfileImplIOData.
They both inherit from ProfileIOData. The former is for the off the record (incognito) profile. The latter is for the normal ProfileImpl profile. All of the IO related Profile objects are now initialized at the same time, in the subtype implementations of ProfileIOData::LazyInitializeInternal(). I also took this opportunity to clean URLRequestContext up so it is a class and keeps its member variables private. This required touching a fair number of files. TODO: Remove lots of the refcounting of member variables, since they can now be owned by ProfileIOData. BUG=67237 TEST=none Review URL: http://codereview.chromium.org/6286133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-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