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

Issue 8907015: Adding chrome::NOTIFICATION_BROWSING_DATA_REMOVED. (Closed)

Created:
9 years ago by Mike West
Modified:
9 years ago
CC:
chromium-reviews, Paweł Hajdan Jr., battre, Bernhard Bauer
Visibility:
Public.

Description

Adding chrome::NOTIFICATION_BROWSING_DATA_REMOVED. After BrowsingDataRemover removes browsing data, it now triggers a chrome::NOTIFICATION_BROWSING_DATA_REMOVED, which uses the profile in which data was removed as it's |source|, and a struct containing the beginning of the removal's timeframe, and the removal mask (BrowsingDataRemover::NotificationDetail) as it's |details|. BUG=107202 TEST=BrowsingDataRemover unit tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114225

Patch Set 1 #

Total comments: 2

Patch Set 2 : Struct. Rebase onto a slightly less red trunk. #

Total comments: 10

Patch Set 3 : Jochen's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -6 lines) Patch
M chrome/browser/browsing_data_remover.h View 1 2 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data_remover.cc View 1 2 7 chunks +35 lines, -4 lines 0 comments Download
M chrome/browser/browsing_data_remover_unittest.cc View 1 2 17 chunks +52 lines, -2 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Mike West
Hi Jochen, can you take a quick look at this? It should implement the notification ...
9 years ago (2011-12-13 10:30:33 UTC) #1
battre
Yes, using the signal SGTM. http://codereview.chromium.org/8907015/diff/1/chrome/browser/browsing_data_remover.h File chrome/browser/browsing_data_remover.h (right): http://codereview.chromium.org/8907015/diff/1/chrome/browser/browsing_data_remover.h#newcode45 chrome/browser/browsing_data_remover.h:45: typedef std::pair<base::Time, int> BrowsingDataRemoverNotificationDetail; ...
9 years ago (2011-12-13 12:16:33 UTC) #2
Mike West
Thanks Dominic. http://codereview.chromium.org/8907015/diff/1/chrome/browser/browsing_data_remover.h File chrome/browser/browsing_data_remover.h (right): http://codereview.chromium.org/8907015/diff/1/chrome/browser/browsing_data_remover.h#newcode45 chrome/browser/browsing_data_remover.h:45: typedef std::pair<base::Time, int> BrowsingDataRemoverNotificationDetail; Good idea. Done.
9 years ago (2011-12-13 13:07:54 UTC) #3
jochen (gone - plz use gerrit)
http://codereview.chromium.org/8907015/diff/5001/chrome/browser/browsing_data_remover.cc File chrome/browser/browsing_data_remover.cc (right): http://codereview.chromium.org/8907015/diff/5001/chrome/browser/browsing_data_remover.cc#newcode390 chrome/browser/browsing_data_remover.cc:390: content::Source<Profile>(profile_->GetOriginalProfile()), can you invoke the browsing data deleter on ...
9 years ago (2011-12-13 13:18:47 UTC) #4
Mike West
Thanks Jochen. http://codereview.chromium.org/8907015/diff/5001/chrome/browser/browsing_data_remover.cc File chrome/browser/browsing_data_remover.cc (right): http://codereview.chromium.org/8907015/diff/5001/chrome/browser/browsing_data_remover.cc#newcode390 chrome/browser/browsing_data_remover.cc:390: content::Source<Profile>(profile_->GetOriginalProfile()), On 2011/12/13 13:18:48, jochen wrote: > ...
9 years ago (2011-12-13 14:23:26 UTC) #5
jochen (gone - plz use gerrit)
lgtm
9 years ago (2011-12-13 14:26:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/8907015/3003
9 years ago (2011-12-13 15:51:32 UTC) #7
commit-bot: I haz the power
9 years ago (2011-12-13 17:11:11 UTC) #8
Change committed as 114225

Powered by Google App Engine
This is Rietveld 408576698