summaryrefslogtreecommitdiffstats
path: root/net/base/cookie_store_test_helpers.h
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 /net/base/cookie_store_test_helpers.h
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 'net/base/cookie_store_test_helpers.h')
-rw-r--r--net/base/cookie_store_test_helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/cookie_store_test_helpers.h b/net/base/cookie_store_test_helpers.h
index e6107c6..568bbe5 100644
--- a/net/base/cookie_store_test_helpers.h
+++ b/net/base/cookie_store_test_helpers.h
@@ -65,8 +65,8 @@ class DelayedCookieMonster : public CookieStore {
// Be called immediately from CookieMonster.
void GetCookiesInternalCallback(
- const std::string& cookie_line,
- const std::vector<CookieStore::CookieInfo>& cookie_info);
+ std::string* cookie_line,
+ std::vector<CookieStore::CookieInfo>* cookie_info);
void SetCookiesInternalCallback(bool result);