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

Issue 2874973002: Flush Channel IDs when Cookies get saved to a persistent backend (Closed)

Created:
3 years, 7 months ago by nharper
Modified:
3 years, 7 months ago
Reviewers:
jam, mmenke, mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org, vakh+watch_chromium.org, grt+watch_chromium.org, timvolodine, net-reviews_chromium.org, darin-cc_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Flush Channel IDs when Cookies get saved to a persistent backend BUG=548423 Review-Url: https://codereview.chromium.org/2874973002 Cr-Commit-Position: refs/heads/master@{#473631} Committed: https://chromium.googlesource.com/chromium/src/+/2b0ad9af1dab8c843ad6cf5fcac8f13a75822f84

Patch Set 1 #

Patch Set 2 : clean up a few things #

Total comments: 4

Patch Set 3 : async flush, comment on lifetime #

Total comments: 6

Patch Set 4 : add unittest and fix bug #

Patch Set 5 : share background task runner #

Patch Set 6 : Add missing background task runners #

Total comments: 8

Patch Set 7 : clarify use of background task runner #

Patch Set 8 : rebase #

Patch Set 9 : Initialize channel_id_service to nullptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -52 lines) Patch
M chrome/browser/net/quota_policy_channel_id_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/quota_policy_channel_id_store.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 5 6 7 4 chunks +34 lines, -21 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 4 5 6 7 1 chunk +17 lines, -13 lines 0 comments Download
M content/browser/net/quota_policy_cookie_store.cc View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -5 lines 0 comments Download
M content/public/browser/cookie_store_factory.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M net/cookies/cookie_monster.h View 1 2 4 chunks +14 lines, -0 lines 0 comments Download
M net/cookies/cookie_monster.cc View 1 2 3 4 5 6 7 4 chunks +24 lines, -2 lines 0 comments Download
M net/cookies/cookie_monster_unittest.cc View 1 2 3 4 5 6 7 3 chunks +50 lines, -0 lines 0 comments Download
M net/extras/sqlite/sqlite_channel_id_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/extras/sqlite/sqlite_channel_id_store.cc View 1 2 4 chunks +16 lines, -11 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M net/ssl/channel_id_store.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/ssl/default_channel_id_store.h View 2 chunks +3 lines, -0 lines 0 comments Download
M net/ssl/default_channel_id_store.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/ssl/default_channel_id_store_unittest.cc View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (17 generated)
nharper
3 years, 7 months ago (2017-05-11 22:18:01 UTC) #3
mmenke
Could you please be clearer on what you want each person to review? Who's the ...
3 years, 7 months ago (2017-05-11 22:20:20 UTC) #4
nharper
On 2017/05/11 22:20:20, mmenke wrote: > Could you please be clearer on what you want ...
3 years, 7 months ago (2017-05-11 22:30:57 UTC) #5
mattm
https://codereview.chromium.org/2874973002/diff/20001/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc (right): https://codereview.chromium.org/2874973002/diff/20001/net/cookies/cookie_monster.cc#newcode885 net/cookies/cookie_monster.cc:885: channel_id_service_->GetChannelIDStore()->Flush(); What thread is this getting run on? It's ...
3 years, 7 months ago (2017-05-12 00:02:47 UTC) #6
nharper
https://codereview.chromium.org/2874973002/diff/20001/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc (right): https://codereview.chromium.org/2874973002/diff/20001/net/cookies/cookie_monster.cc#newcode885 net/cookies/cookie_monster.cc:885: channel_id_service_->GetChannelIDStore()->Flush(); On 2017/05/12 00:02:47, mattm wrote: > What thread ...
3 years, 7 months ago (2017-05-12 02:47:23 UTC) #7
mmenke
ProfileIOData LGTM
3 years, 7 months ago (2017-05-12 16:36:35 UTC) #8
jam
On 2017/05/11 22:30:57, nharper wrote: > On 2017/05/11 22:20:20, mmenke wrote: > > Could you ...
3 years, 7 months ago (2017-05-12 19:51:51 UTC) #9
mattm
https://codereview.chromium.org/2874973002/diff/40001/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc (right): https://codereview.chromium.org/2874973002/diff/40001/net/cookies/cookie_monster.cc#newcode360 net/cookies/cookie_monster.cc:360: nullptr, channel_id_service ? https://codereview.chromium.org/2874973002/diff/40001/net/cookies/cookie_monster.cc#newcode360 net/cookies/cookie_monster.cc:360: nullptr, Add unittests? https://codereview.chromium.org/2874973002/diff/40001/net/cookies/cookie_monster.cc#newcode885 ...
3 years, 7 months ago (2017-05-12 21:51:51 UTC) #10
nharper
mmenke: I changed ProfileImplIOData - do you want to take a look at it again? ...
3 years, 7 months ago (2017-05-17 18:19:19 UTC) #11
mmenke
On 2017/05/17 18:19:19, nharper wrote: > mmenke: I changed ProfileImplIOData - do you want to ...
3 years, 7 months ago (2017-05-17 18:23:21 UTC) #12
nharper
On 2017/05/17 18:23:21, mmenke wrote: > No really...however... Real Soon Now, URLRequestContext construction will all ...
3 years, 7 months ago (2017-05-17 22:13:18 UTC) #13
mmenke
On 2017/05/17 22:13:18, nharper wrote: > On 2017/05/17 18:23:21, mmenke wrote: > > No really...however... ...
3 years, 7 months ago (2017-05-17 22:17:11 UTC) #14
mmenke
And just to be explicit about it: Feel free to land this whenever mattm has ...
3 years, 7 months ago (2017-05-17 22:18:25 UTC) #15
mattm
https://codereview.chromium.org/2874973002/diff/100001/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/2874973002/diff/100001/chrome/browser/profiles/profile_impl_io_data.cc#newcode493 chrome/browser/profiles/profile_impl_io_data.cc:493: scoped_refptr<base::SequencedTaskRunner> background_task_runner = may want to add comment or ...
3 years, 7 months ago (2017-05-17 23:28:09 UTC) #16
nharper
https://codereview.chromium.org/2874973002/diff/100001/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/2874973002/diff/100001/chrome/browser/profiles/profile_impl_io_data.cc#newcode493 chrome/browser/profiles/profile_impl_io_data.cc:493: scoped_refptr<base::SequencedTaskRunner> background_task_runner = On 2017/05/17 23:28:09, mattm wrote: > ...
3 years, 7 months ago (2017-05-18 00:45:53 UTC) #17
mattm
sounds good. lgtm
3 years, 7 months ago (2017-05-18 01:01:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2874973002/120001
3 years, 7 months ago (2017-05-18 01:07:07 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/181031)
3 years, 7 months ago (2017-05-18 02:56:26 UTC) #23
mmenke
On 2017/05/18 02:56:26, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 7 months ago (2017-05-22 15:45:48 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2874973002/160001
3 years, 7 months ago (2017-05-22 17:09:31 UTC) #35
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 18:34:07 UTC) #38
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/2b0ad9af1dab8c843ad6cf5fcac8...

Powered by Google App Engine
This is Rietveld 408576698