|
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
Total comments: 2
Total comments: 16
|
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
|
Total messages: 11 (0 generated)
|