diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 18:24:21 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 18:24:21 +0000 |
commit | fba87b5c6d4181c147455078c44f80d39f262b2f (patch) | |
tree | 4be75b3046cb5ef6fa0a1f6479639996df0565f0 /net/url_request/url_request_test_util.h | |
parent | c59d845257c5245a476ffd4284c506ef58fe008d (diff) | |
download | chromium_src-fba87b5c6d4181c147455078c44f80d39f262b2f.zip chromium_src-fba87b5c6d4181c147455078c44f80d39f262b2f.tar.gz chromium_src-fba87b5c6d4181c147455078c44f80d39f262b2f.tar.bz2 |
Reland r74561 after fixing ChromeOS build breakage.
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/6500002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_test_util.h')
-rw-r--r-- | net/url_request/url_request_test_util.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/url_request/url_request_test_util.h b/net/url_request/url_request_test_util.h index ab71db1..3f8b4b4 100644 --- a/net/url_request/url_request_test_util.h +++ b/net/url_request/url_request_test_util.h @@ -76,10 +76,6 @@ class TestURLRequestContext : public net::URLRequestContext { TestURLRequestContext(); explicit TestURLRequestContext(const std::string& proxy); - void set_cookie_policy(net::CookiePolicy* policy) { - cookie_policy_ = policy; - } - protected: virtual ~TestURLRequestContext(); |