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

Issue 23545012: [Activity log] Rework extraction of URLs from argument lists (Closed)

Created:
7 years, 3 months ago by mvrable
Modified:
7 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, felt, extensions-reviews_chromium.org, Matt Perry
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

[Activity log] Rework extraction of URLs from argument lists Redo the code for handling the tabs API and tab ID translation to make it more generic. Make it table driven: there is now a table of API calls that can contain URL arguments, so it is easy to add additional API calls that we want to have URLs extracted from. Add a couple of others I've come across in testing. BUG=253368, 275701 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222155

Patch Set 1 #

Patch Set 2 : Clean up and add a test #

Patch Set 3 : Cleanup #

Patch Set 4 : Improve tests #

Patch Set 5 : Fixes #

Total comments: 13

Patch Set 6 : Revised based on reviewer feedback #

Patch Set 7 : Delete dead code #

Total comments: 4

Patch Set 8 : Convert to a switch statement #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -75 lines) Patch
M chrome/browser/extensions/activity_log/activity_action_constants.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_action_constants.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log.cc View 1 2 3 4 5 6 7 8 3 chunks +199 lines, -72 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +51 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/activity_log_private/test/test.js View 1 2 3 4 5 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
mvrable
No rush on reviewing this, but when you have a chance I think this is ...
7 years, 3 months ago (2013-08-28 20:37:53 UTC) #1
mvrable
On 2013/08/28 20:37:53, mvrable wrote: > No rush on reviewing this, but when you have ...
7 years, 3 months ago (2013-08-28 21:37:27 UTC) #2
mvrable
kalman, would you be able to review a patch for me to some of the ...
7 years, 3 months ago (2013-09-05 21:45:25 UTC) #3
not at google - send to devlin
Small comments + a bigger comment, of which I'm not quite sure what to make ...
7 years, 3 months ago (2013-09-06 17:36:14 UTC) #4
mvrable
Thanks for the feedback! I've uploaded a new version with fixes for all of the ...
7 years, 3 months ago (2013-09-06 21:27:42 UTC) #5
not at google - send to devlin
lgtm https://codereview.chromium.org/23545012/diff/25001/chrome/browser/extensions/activity_log/activity_log.cc File chrome/browser/extensions/activity_log/activity_log.cc (right): https://codereview.chromium.org/23545012/diff/25001/chrome/browser/extensions/activity_log/activity_log.cc#newcode98 chrome/browser/extensions/activity_log/activity_log.cc:98: {Action::ACTION_API_CALL, "windows.create", 0, "url"}, On 2013/09/06 21:27:42, mvrable ...
7 years, 3 months ago (2013-09-06 22:05:05 UTC) #6
mvrable
Updated. I created a feature request for a more declarative system, in Issue 286492. https://codereview.chromium.org/23545012/diff/40001/chrome/browser/extensions/activity_log/activity_log.cc ...
7 years, 3 months ago (2013-09-06 22:32:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mvrable@chromium.org/23545012/53001
7 years, 3 months ago (2013-09-09 18:17:18 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-10 00:40:25 UTC) #9
Message was sent while issue was closed.
Change committed as 222155

Powered by Google App Engine
This is Rietveld 408576698