Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Issue 7833042: Finalize a CL originally by departed intern ycxiao@ that detaches the loading of cookies from the... (Closed)

Created:
9 years, 3 months ago by erikwright (departed)
Modified:
9 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, kkania, erikwright (departed), Paweł Hajdan Jr., jam, Randy Smith (Not in Mondays), joi+watch-content_chromium.org, wtc, darin-cc_chromium.org, rkn, pam+watch_chromium.org, estade+watch_chromium.org
Visibility:
Public.

Description

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. BUG=68657 TEST=net_unittests / DeferredCookieTaskTest.* and CookieMonsterTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100188

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 16

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1772 lines, -683 lines) Patch
M chrome/browser/automation/automation_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browsing_data_remover.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/fast_shutdown_uitest.cc View 1 7 chunks +25 lines, -14 lines 0 comments Download
M chrome/browser/net/cookie_policy_browsertest.cc View 1 2 3 4 5 6 2 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/net/sqlite_persistent_cookie_store.h View 1 chunk +10 lines, -6 lines 0 comments Download
M chrome/browser/net/sqlite_persistent_cookie_store.cc View 1 2 3 4 5 6 7 8 9 8 chunks +69 lines, -19 lines 0 comments Download
M chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc View 1 2 3 4 5 5 chunks +28 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc View 1 1 chunk +0 lines, -46 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M net/base/cookie_monster.h View 1 2 3 4 5 6 7 8 9 14 chunks +110 lines, -53 lines 0 comments Download
M net/base/cookie_monster.cc View 1 2 3 4 5 6 7 8 9 26 chunks +585 lines, -121 lines 0 comments Download
M net/base/cookie_monster_perftest.cc View 1 2 3 4 5 6 7 8 9 9 chunks +140 lines, -61 lines 0 comments Download
M net/base/cookie_monster_store_test.h View 4 chunks +17 lines, -9 lines 0 comments Download
M net/base/cookie_monster_store_test.cc View 2 chunks +10 lines, -6 lines 0 comments Download
M net/base/cookie_monster_unittest.cc View 67 chunks +710 lines, -242 lines 0 comments Download
M net/base/cookie_store.h View 4 chunks +9 lines, -43 lines 0 comments Download
M net/base/cookie_store.cc View 1 chunk +0 lines, -26 lines 0 comments Download
M net/base/cookie_store_test_helpers.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/base/cookie_store_test_helpers.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M net/url_request/url_request_http_job.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 3 chunks +13 lines, -4 lines 0 comments Download
M webkit/tools/test_shell/simple_resource_loader_bridge.cc View 4 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
erikwright (departed)
This CL removes the deprecated synchronous cookies API and detaches cookie loading from the IO ...
9 years, 3 months ago (2011-09-06 17:33:59 UTC) #1
Evan Stade
probably better to get sreeram to review chrome/browser/fast_shutdown_interactive_uitest.cc rather than me.
9 years, 3 months ago (2011-09-06 17:51:30 UTC) #2
sreeram
LGTM for chrome/browser/fast_shutdown_uitest.cc
9 years, 3 months ago (2011-09-06 18:13:04 UTC) #3
tony
test_shell LGTM
9 years, 3 months ago (2011-09-06 19:12:12 UTC) #4
tim (not reviewing)
new_tab_page_sync_handler LGTM
9 years, 3 months ago (2011-09-07 17:21:40 UTC) #5
Randy Smith (Not in Mondays)
LGTM modulo notes below, most of which are suggestions (i.e. not binding) anyway. I would ...
9 years, 3 months ago (2011-09-07 19:04:07 UTC) #6
erikwright (departed)
Great. Barring negative results from the try servers I will hit the commit button Thursday ...
9 years, 3 months ago (2011-09-08 02:48:58 UTC) #7
commit-bot: I haz the power
Presubmit check for 7833042-22001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 3 months ago (2011-09-08 10:44:38 UTC) #8
erikwright (departed)
Hi John, Would you mind giving an LGTM for the change in content/browser/renderer_host/render_message_filter.cc ? We ...
9 years, 3 months ago (2011-09-08 13:48:52 UTC) #9
jam
content lgtm
9 years, 3 months ago (2011-09-08 16:26:53 UTC) #10
commit-bot: I haz the power
9 years, 3 months ago (2011-09-08 18:03:34 UTC) #11
Change committed as 100188

Powered by Google App Engine
This is Rietveld 408576698