summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/simple_resource_loader_bridge.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-12 15:51:23 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-12 15:51:23 +0000
commit9025016cccf554e56096e0ba220cb6e38e9c57ce (patch)
tree830d15fa74ef752e787c3984eb23aee4c3bdc32c /webkit/tools/test_shell/simple_resource_loader_bridge.cc
parentd91aaac40c25cbd3f289453191539834e5e97427 (diff)
downloadchromium_src-9025016cccf554e56096e0ba220cb6e38e9c57ce.zip
chromium_src-9025016cccf554e56096e0ba220cb6e38e9c57ce.tar.gz
chromium_src-9025016cccf554e56096e0ba220cb6e38e9c57ce.tar.bz2
Get rid of net::CookiePolicy, now that all code that uses it (except WebSocketJob, which appears to be unused and which I updated in this cl) is switched over to use ContentBrowserClient.
BUG=76793 Review URL: http://codereview.chromium.org/6973011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85136 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/simple_resource_loader_bridge.cc')
-rw-r--r--webkit/tools/test_shell/simple_resource_loader_bridge.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/simple_resource_loader_bridge.cc b/webkit/tools/test_shell/simple_resource_loader_bridge.cc
index 1a1cc71..5f4cd4d 100644
--- a/webkit/tools/test_shell/simple_resource_loader_bridge.cc
+++ b/webkit/tools/test_shell/simple_resource_loader_bridge.cc
@@ -488,7 +488,7 @@ class RequestProxy : public net::URLRequest::Delegate,
StaticCookiePolicy::ALLOW_ALL_COOKIES :
StaticCookiePolicy::BLOCK_SETTING_THIRD_PARTY_COOKIES;
- net::StaticCookiePolicy policy(policy_type);
+ StaticCookiePolicy policy(policy_type);
int rv = policy.CanGetCookies(
request->url(), request->first_party_for_cookies());
return rv == net::OK;
@@ -501,7 +501,7 @@ class RequestProxy : public net::URLRequest::Delegate,
StaticCookiePolicy::ALLOW_ALL_COOKIES :
StaticCookiePolicy::BLOCK_SETTING_THIRD_PARTY_COOKIES;
- net::StaticCookiePolicy policy(policy_type);
+ StaticCookiePolicy policy(policy_type);
int rv = policy.CanSetCookie(
request->url(), request->first_party_for_cookies(), cookie_line);
return rv == net::OK;