Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Issue 15520002: Moved DOMActionType information from extras into a real field (ActivityLog) (Closed)

Created:
7 years, 7 months ago by felt
Modified:
7 years, 6 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, dbabic
Visibility:
Public.

Description

Moved DOMActionType information from extras into a real field (ActivityLog) Previously, the DOMActionType was being sent from the renderer to the browser ActivityLog as a string. It was then being turned into an enum. I've now moved it to its own proper field, and it's being marshaled across the renderer/browser boundary as an int that matches an enum instead of as a string. [email protected] BUG=229703 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203037

Patch Set 1 #

Total comments: 7

Patch Set 2 : Moved DomActionType and removed casts #

Total comments: 2

Patch Set 3 : Added prefix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -96 lines) Patch
M chrome/browser/extensions/activity_log/activity_database_unittest.cc View 1 2 6 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log.h View 1 2 3 chunks +2 lines, -12 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log.cc View 1 2 5 chunks +20 lines, -44 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_unittest.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log/dom_actions.h View 1 2 4 chunks +3 lines, -14 lines 0 comments Download
M chrome/browser/extensions/activity_log/dom_actions.cc View 1 2 4 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 1 2 5 chunks +8 lines, -5 lines 0 comments Download
M chrome/chrome_common.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/dom_action_types.h View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_messages.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/dom_activity_logger.h View 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/dom_activity_logger.cc View 1 2 3 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
felt
Hi Matt, can you please review this? (Domagoj, this incidentally fixes the confusing if-statement that ...
7 years, 7 months ago (2013-05-21 00:50:30 UTC) #1
Matt Perry
https://codereview.chromium.org/15520002/diff/1/chrome/renderer/extensions/dom_activity_logger.cc File chrome/renderer/extensions/dom_activity_logger.cc (right): https://codereview.chromium.org/15520002/diff/1/chrome/renderer/extensions/dom_activity_logger.cc#newcode21 chrome/renderer/extensions/dom_activity_logger.cc:21: enum CallType { It'd be better to use the ...
7 years, 7 months ago (2013-05-21 22:14:21 UTC) #2
felt
https://codereview.chromium.org/15520002/diff/1/chrome/renderer/extensions/dom_activity_logger.cc File chrome/renderer/extensions/dom_activity_logger.cc (right): https://codereview.chromium.org/15520002/diff/1/chrome/renderer/extensions/dom_activity_logger.cc#newcode21 chrome/renderer/extensions/dom_activity_logger.cc:21: enum CallType { On 2013/05/21 22:14:21, Matt Perry wrote: ...
7 years, 7 months ago (2013-05-22 01:34:39 UTC) #3
Matt Perry
https://codereview.chromium.org/15520002/diff/11001/chrome/common/extensions/dom_action_types.h File chrome/common/extensions/dom_action_types.h (right): https://codereview.chromium.org/15520002/diff/11001/chrome/common/extensions/dom_action_types.h#newcode13 chrome/common/extensions/dom_action_types.h:13: GETTER = 0, // For Content Script DOM manipulations ...
7 years, 7 months ago (2013-05-22 01:43:55 UTC) #4
Matt Perry
LGTM with last comment addressed.
7 years, 7 months ago (2013-05-22 01:44:15 UTC) #5
felt
Chris & James, can you please check out these changes to extension_messages.h and chrome_render_message_filter.cc, respectively? ...
7 years, 7 months ago (2013-05-22 02:19:45 UTC) #6
James Hawkins
lgtm
7 years, 7 months ago (2013-05-22 18:26:21 UTC) #7
palmer
Unfortunately I'm a bit swamped at the moment; cdn, can you please review this for ...
7 years, 7 months ago (2013-05-22 22:15:31 UTC) #8
felt
cdn- please let me know if you need any background on what the Activity Log ...
7 years, 7 months ago (2013-05-23 17:25:41 UTC) #9
felt
cdn - Gentle ping, can you please take a look at this CL when you ...
7 years, 7 months ago (2013-05-25 19:38:44 UTC) #10
Cris Neckar
IPC changes LGTM
7 years, 6 months ago (2013-05-29 20:17:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/15520002/25001
7 years, 6 months ago (2013-05-29 21:01:07 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-05-30 03:24:27 UTC) #13
Message was sent while issue was closed.
Change committed as 203037

Powered by Google App Engine
This is Rietveld 408576698