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

Issue 23785002: Clean up activity log URLs when history is cleaned. (Closed)

Created:
7 years, 3 months ago by karenlees
Modified:
7 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, markusheintz_, extensions-reviews_chromium.org
Visibility:
Public.

Description

Clean up URLs from activity log when a user cleans history via the history UI or using the extensions api. BUG=253367 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221436

Patch Set 1 #

Patch Set 2 : fix line #

Total comments: 8

Patch Set 3 : Updates following review comments #

Patch Set 4 : Some more fixes #

Patch Set 5 : Declare dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -0 lines) Patch
M chrome/browser/browsing_data/browsing_data_remover.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/history/history_api.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/history/history_api.cc View 1 2 3 4 8 chunks +35 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/history_ui.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
karenlees
Hi, I'm not sure if these are the best places to make the changes, so ...
7 years, 3 months ago (2013-09-03 21:22:09 UTC) #1
Bernhard Bauer
https://codereview.chromium.org/23785002/diff/3001/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/23785002/diff/3001/chrome/browser/browsing_data/browsing_data_remover.cc#newcode280 chrome/browser/browsing_data/browsing_data_remover.cc:280: if (activity_log) { When is this NULL? Also, nit: ...
7 years, 3 months ago (2013-09-03 21:55:42 UTC) #2
Matt Perry
lgtm https://codereview.chromium.org/23785002/diff/3001/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/23785002/diff/3001/chrome/browser/browsing_data/browsing_data_remover.cc#newcode281 chrome/browser/browsing_data/browsing_data_remover.cc:281: activity_log->RemoveURLs(restrict_urls); FYI, restrict_urls might be empty, in which ...
7 years, 3 months ago (2013-09-03 22:16:23 UTC) #3
felt
https://codereview.chromium.org/23785002/diff/3001/chrome/browser/extensions/api/history/history_api.cc File chrome/browser/extensions/api/history/history_api.cc (right): https://codereview.chromium.org/23785002/diff/3001/chrome/browser/extensions/api/history/history_api.cc#newcode449 chrome/browser/extensions/api/history/history_api.cc:449: // Also clean out from the activity log. the ...
7 years, 3 months ago (2013-09-03 23:03:46 UTC) #4
karenlees
I've set the try bots running on the latest version and I'll also run all ...
7 years, 3 months ago (2013-09-04 21:35:05 UTC) #5
Matt Perry
Adrienne's right - you should declare the factory dependencies in HistoryAPI. It might work without, ...
7 years, 3 months ago (2013-09-04 21:38:23 UTC) #6
karenlees
Added dependency.
7 years, 3 months ago (2013-09-04 22:03:48 UTC) #7
Matt Perry
lgtm
7 years, 3 months ago (2013-09-04 22:17:53 UTC) #8
Bernhard Bauer
browsing_data LGTM.
7 years, 3 months ago (2013-09-04 22:21:14 UTC) #9
felt
lgtm
7 years, 3 months ago (2013-09-04 23:00:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/karenlees@chromium.org/23785002/22001
7 years, 3 months ago (2013-09-04 23:02:34 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-04 23:24:45 UTC) #12
karenlees
On 2013/09/04 23:24:45, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 3 months ago (2013-09-04 23:27:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/karenlees@chromium.org/23785002/22001
7 years, 3 months ago (2013-09-05 14:09:50 UTC) #14
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 15:31:44 UTC) #15
Message was sent while issue was closed.
Change committed as 221436

Powered by Google App Engine
This is Rietveld 408576698