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

Issue 874613004: Remove NOTIFICATION_BROWSING_DATA_REMOVED (Closed)

Created:
5 years, 11 months ago by Simon Que
Modified:
5 years, 11 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, markusheintz_, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove NOTIFICATION_BROWSING_DATA_REMOVED Replace the notification system with a static callback list in BrowsingDataRemover. BUG=chromium:268984 TEST=BrowsingDataRemoverTest and ExtensionBrowsingDataTest pass. Signed-off-by: Simon Que <sque@chromium.org>; Committed: https://crrev.com/df2e50a279c9cdc44d50ccb0e70b3e9bf289016d Cr-Commit-Position: refs/heads/master@{#313137}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Rename global variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -50 lines) Patch
M chrome/browser/browsing_data/browsing_data_remover.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.cc View 1 2 3 chunks +28 lines, -5 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover_unittest.cc View 6 chunks +14 lines, -20 lines 0 comments Download
M chrome/browser/chrome_notification_types.h View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/browsing_data/browsing_data_test.cc View 4 chunks +13 lines, -16 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
Simon Que
5 years, 11 months ago (2015-01-24 02:20:29 UTC) #2
Bernhard Bauer
FTR, it's customary to pick one reviewer from the OWNERS file, to avoid having several ...
5 years, 11 months ago (2015-01-26 09:51:44 UTC) #3
Simon Que
https://codereview.chromium.org/874613004/diff/1/chrome/browser/browsing_data/browsing_data_remover.h File chrome/browser/browsing_data/browsing_data_remover.h (right): https://codereview.chromium.org/874613004/diff/1/chrome/browser/browsing_data/browsing_data_remover.h#newcode156 chrome/browser/browsing_data/browsing_data_remover.h:156: using CallbackList = base::CallbackList<void(const NotificationDetails&)>; On 2015/01/26 09:51:43, Bernhard ...
5 years, 11 months ago (2015-01-26 18:21:56 UTC) #4
Bernhard Bauer
LGTM with a naming nit: https://codereview.chromium.org/874613004/diff/20001/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/874613004/diff/20001/chrome/browser/browsing_data/browsing_data_remover.cc#newcode110 chrome/browser/browsing_data/browsing_data_remover.cc:110: CallbackList* on_browsing_data_removed_callbacks_ = nullptr; ...
5 years, 11 months ago (2015-01-26 18:24:22 UTC) #5
Simon Que
https://codereview.chromium.org/874613004/diff/20001/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/874613004/diff/20001/chrome/browser/browsing_data/browsing_data_remover.cc#newcode110 chrome/browser/browsing_data/browsing_data_remover.cc:110: CallbackList* on_browsing_data_removed_callbacks_ = nullptr; On 2015/01/26 18:24:22, Bernhard Bauer ...
5 years, 11 months ago (2015-01-26 18:43:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874613004/40001
5 years, 11 months ago (2015-01-26 18:44:07 UTC) #8
Simon Que
Adding sky to review chrome_notification_types.h
5 years, 11 months ago (2015-01-26 18:49:43 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/38333) Try jobs failed on following ...
5 years, 11 months ago (2015-01-26 18:52:40 UTC) #12
sky
LGTM
5 years, 11 months ago (2015-01-26 20:07:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874613004/40001
5 years, 11 months ago (2015-01-26 21:14:18 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/38333)
5 years, 11 months ago (2015-01-26 21:14:47 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874613004/40001
5 years, 11 months ago (2015-01-26 21:19:15 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-26 21:20:33 UTC) #20
commit-bot: I haz the power
5 years, 11 months ago (2015-01-26 21:21:35 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/df2e50a279c9cdc44d50ccb0e70b3e9bf289016d
Cr-Commit-Position: refs/heads/master@{#313137}

Powered by Google App Engine
This is Rietveld 408576698