summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorerikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-09 19:09:06 +0000
committererikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-09 19:09:06 +0000
commit8784046cfd3014dd8ac4cccd107f3042fbbc233c (patch)
treeebf198039d81c894829d6511dd4c20043d6fd770 /content
parente96f07cb0a2b22e0cb06ce2034da840463e25b18 (diff)
downloadchromium_src-8784046cfd3014dd8ac4cccd107f3042fbbc233c.zip
chromium_src-8784046cfd3014dd8ac4cccd107f3042fbbc233c.tar.gz
chromium_src-8784046cfd3014dd8ac4cccd107f3042fbbc233c.tar.bz2
Revert 100415 - Re-land http://codereview.chromium.org/7831056/ and http://codereview.chromium.org/7833042/ .
Finalize a CL originally by departed intern ycxiao@ that detaches the loading of cookies from the IO thread. They are now loaded on the DB thread. Cookie operations received in the meantime are queued and executed, on the IO thread, in the order they were received, when loading completes. A few straggler clients are updated to use the asynchronous CookieStore/CookieMonster API as part of this CL, as the synchronous API is removed. This entire CL has been previously reviewed by the appropriate owners, however an error was made during the submit. BUG=68657 TEST=net_unittests / DeferredCookieTaskTest.* and CookieMonsterTest.* Review URL: http://codereview.chromium.org/7860039 TBR=erikwright@chromium.org Review URL: http://codereview.chromium.org/7862002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100460 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_message_filter.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc
index c857f58..32180e3 100644
--- a/content/browser/renderer_host/render_message_filter.cc
+++ b/content/browser/renderer_host/render_message_filter.cc
@@ -893,10 +893,9 @@ void RenderMessageFilter::CheckPolicyForCookies(
url, first_party_for_cookies, cookie_list, resource_context_,
render_process_id_, reply_msg->routing_id())) {
// Gets the cookies from cookie store if allowed.
- context->cookie_store()->GetCookiesWithOptionsAsync(
- url, net::CookieOptions(),
- base::Bind(&RenderMessageFilter::SendGetCookiesResponse,
- this, reply_msg));
+ context->cookie_store()->GetCookiesAsync(
+ url, base::Bind(&RenderMessageFilter::SendGetCookiesResponse,
+ this, reply_msg));
} else {
SendGetCookiesResponse(reply_msg, std::string());
}