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

Issue 23983014: [Activity Log] when extension is uninstalled, delete data about it (Closed)

Created:
7 years, 3 months ago by felt
Modified:
7 years, 3 months ago
Reviewers:
Matt Perry, mvrable
CC:
mvrable, chromium-reviews, chromium-apps-reviews_chromium.org, felt, extensions-reviews_chromium.org
Visibility:
Public.

Description

[Activity Log] when extension is uninstalled, delete data about it When a user uninstalls an extension, all of the data about that extension is removed from the activity log database. This is a privacy measure. BUG=244841 R=mpcomplete@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222242 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223113

Patch Set 1 #

Total comments: 3

Patch Set 2 : Minor fix before review #

Total comments: 2

Patch Set 3 : Prettified the if statement #

Patch Set 4 : Updated string table lookup #

Patch Set 5 : Added statement.clear #

Patch Set 6 : Rebased #

Patch Set 7 : Debugging #

Patch Set 8 : Fixed bug in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -12 lines) Patch
M chrome/browser/extensions/activity_log/activity_log.cc View 1 2 3 4 5 6 2 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_policy.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_unittest.cc View 1 2 3 4 5 3 chunks +45 lines, -3 lines 0 comments Download
M chrome/browser/extensions/activity_log/counting_policy.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log/counting_policy.cc View 1 2 3 4 5 2 chunks +38 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log/counting_policy_unittest.cc View 1 2 3 4 5 6 7 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log/fullstream_ui_policy.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log/fullstream_ui_policy.cc View 1 2 3 4 5 6 2 chunks +32 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc View 1 2 3 4 5 6 7 1 chunk +58 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
felt
Hi Michael, can you take a quick peek at the if-statement? https://codereview.chromium.org/23983014/diff/1/chrome/browser/extensions/activity_log/counting_policy.cc File chrome/browser/extensions/activity_log/counting_policy.cc (right): ...
7 years, 3 months ago (2013-09-09 14:31:07 UTC) #1
felt
Hi Matt, can you please review this CL? Added per privacy review request.
7 years, 3 months ago (2013-09-09 14:31:50 UTC) #2
mvrable
https://codereview.chromium.org/23983014/diff/1/chrome/browser/extensions/activity_log/counting_policy.cc File chrome/browser/extensions/activity_log/counting_policy.cc (right): https://codereview.chromium.org/23983014/diff/1/chrome/browser/extensions/activity_log/counting_policy.cc#newcode586 chrome/browser/extensions/activity_log/counting_policy.cc:586: if (string_table_.StringToInt(db, extension_id, &id)) { On 2013/09/09 14:31:08, felt ...
7 years, 3 months ago (2013-09-09 17:39:44 UTC) #3
Matt Perry
lgtm https://codereview.chromium.org/23983014/diff/4001/chrome/browser/extensions/activity_log/activity_log.cc File chrome/browser/extensions/activity_log/activity_log.cc (right): https://codereview.chromium.org/23983014/diff/4001/chrome/browser/extensions/activity_log/activity_log.cc#newcode323 chrome/browser/extensions/activity_log/activity_log.cc:323: if (policy_ && (extension->id() != kActivityLogExtensionId)) nit: I'd ...
7 years, 3 months ago (2013-09-09 19:02:02 UTC) #4
felt
https://codereview.chromium.org/23983014/diff/1/chrome/browser/extensions/activity_log/counting_policy.cc File chrome/browser/extensions/activity_log/counting_policy.cc (right): https://codereview.chromium.org/23983014/diff/1/chrome/browser/extensions/activity_log/counting_policy.cc#newcode586 chrome/browser/extensions/activity_log/counting_policy.cc:586: if (string_table_.StringToInt(db, extension_id, &id)) { On 2013/09/09 17:39:44, mvrable ...
7 years, 3 months ago (2013-09-09 21:19:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felt@chromium.org/23983014/11001
7 years, 3 months ago (2013-09-09 21:21:20 UTC) #6
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-09 22:41:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felt@chromium.org/23983014/11001
7 years, 3 months ago (2013-09-10 00:41:57 UTC) #8
commit-bot: I haz the power
Change committed as 222242
7 years, 3 months ago (2013-09-10 09:32:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felt@chromium.org/23983014/49001
7 years, 3 months ago (2013-09-13 14:27:42 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-09-13 20:28:41 UTC) #11
Message was sent while issue was closed.
Change committed as 223113

Powered by Google App Engine
This is Rietveld 408576698