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

Issue 12314015: Make SQLitePersistentCookieStore run on injected SequencedTaskRunners vs named BrowserThreads. (Closed)

Created:
7 years, 10 months ago by erikwright (departed)
Modified:
7 years, 10 months ago
CC:
chromium-reviews, erikwright (departed), cbentzel+watch_chromium.org, erikwright+watch_chromium.org, darin-cc_chromium.org, sail+watch_chromium.org
Visibility:
Public.

Description

Make SQLitePersistentCookieStore run on injected SequencedTaskRunners vs named BrowserThreads. In a follow-up, I will make the production code run on the worker pool, which will hopefully speed up browser startup by eliminating delays due to other long-running DB thread tasks. R=rdsmith@chromium.org TBR=jar@chromium.org,mmenke@chromium.org BUG=175415 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184868 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184879

Patch Set 1 #

Patch Set 2 : Revert some unintentionally uploaded changes. #

Patch Set 3 : Fix perf tests. #

Total comments: 14

Patch Set 4 : Review comments. #

Total comments: 4

Patch Set 5 : Review comments. #

Patch Set 6 : Relax a newly introduced NOTREACHED. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -203 lines) Patch
M base/base.gyp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/net/sqlite_persistent_cookie_store.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/net/sqlite_persistent_cookie_store.cc View 1 2 3 4 5 28 chunks +130 lines, -108 lines 0 comments Download
M chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc View 1 2 3 3 chunks +33 lines, -18 lines 0 comments Download
M chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc View 1 2 3 4 8 chunks +48 lines, -73 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 3 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
erikwright (departed)
7 years, 10 months ago (2013-02-20 17:19:39 UTC) #1
mmenke
I suggest you have someone who knows this code better than I do take a ...
7 years, 10 months ago (2013-02-20 20:58:30 UTC) #2
erikwright (departed)
rdsmith: PTAL. https://codereview.chromium.org/12314015/diff/10/chrome/browser/net/sqlite_persistent_cookie_store.cc File chrome/browser/net/sqlite_persistent_cookie_store.cc (right): https://codereview.chromium.org/12314015/diff/10/chrome/browser/net/sqlite_persistent_cookie_store.cc#newcode25 chrome/browser/net/sqlite_persistent_cookie_store.cc:25: #include "base/threading/thread.h" On 2013/02/20 20:58:30, mmenke wrote: ...
7 years, 10 months ago (2013-02-21 20:11:43 UTC) #3
Randy Smith (Not in Mondays)
As noted below, I think the specification of the relationship between client thread and class ...
7 years, 10 months ago (2013-02-22 18:20:16 UTC) #4
erikwright (departed)
I'll add some additional comments about the purposes of the two runners. https://codereview.chromium.org/12314015/diff/3008/chrome/browser/net/sqlite_persistent_cookie_store.cc File chrome/browser/net/sqlite_persistent_cookie_store.cc ...
7 years, 10 months ago (2013-02-25 16:25:47 UTC) #5
erikwright (departed)
TBR mmenke for browser/{profiles,safe_browsing} TBR jar for base/base.gyp
7 years, 10 months ago (2013-02-26 19:58:45 UTC) #6
mmenke
On 2013/02/26 19:58:45, erikwright wrote: > TBR mmenke for browser/{profiles,safe_browsing} > TBR jar for base/base.gyp ...
7 years, 10 months ago (2013-02-26 20:00:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/12314015/1017
7 years, 10 months ago (2013-02-26 23:58:23 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=102205
7 years, 10 months ago (2013-02-27 01:02:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/12314015/14003
7 years, 10 months ago (2013-02-27 02:07:35 UTC) #10
commit-bot: I haz the power
Change committed as 184868
7 years, 10 months ago (2013-02-27 04:15:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/12314015/14003
7 years, 10 months ago (2013-02-27 04:57:10 UTC) #12
commit-bot: I haz the power
7 years, 10 months ago (2013-02-27 05:17:34 UTC) #13
Message was sent while issue was closed.
Change committed as 184879

Powered by Google App Engine
This is Rietveld 408576698