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

Issue 404613006: Declarative content scripts: Renderer-side: per-extension shared memory regions (lazily loaded) (Closed)

Created:
6 years, 5 months ago by Mark Dittmer
Modified:
6 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, not at google - send to devlin, Fady Samuel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Declarative content scripts: Renderer-side: per-extension shared memory regions (lazily loaded) BUG=377978 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286457

Patch Set 1 #

Patch Set 2 : Re-add missing Disptacher::content_watcher_ initialization #

Total comments: 13

Patch Set 3 : Fix use of scoped and linked ptrs, better documentation #

Total comments: 40

Patch Set 4 : Implement changes for second round of code review #

Patch Set 5 : Implement changes from review comments missed in user_script_master_manager.cc #

Total comments: 10

Patch Set 6 : Implement third round of comments #

Total comments: 6

Patch Set 7 : Fixes for last round of comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -74 lines) Patch
M chrome/browser/extensions/user_script_master.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/common/extension_messages.h View 1 2 3 4 5 1 chunk +9 lines, -2 lines 0 comments Download
M extensions/extensions.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/renderer/dispatcher.h View 1 2 3 5 chunks +6 lines, -6 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M extensions/renderer/script_injection_manager.h View 4 chunks +7 lines, -7 lines 0 comments Download
M extensions/renderer/script_injection_manager.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M extensions/renderer/user_script_set.h View 1 2 3 4 5 6 3 chunks +9 lines, -12 lines 0 comments Download
M extensions/renderer/user_script_set.cc View 1 2 3 4 5 6 3 chunks +4 lines, -35 lines 0 comments Download
A extensions/renderer/user_script_set_manager.h View 1 2 3 4 5 6 1 chunk +105 lines, -0 lines 0 comments Download
A extensions/renderer/user_script_set_manager.cc View 1 2 3 4 5 6 1 chunk +118 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Mark Dittmer
Jeffrey, please review the main content of this. Ken, please review changes to IPC messages.
6 years, 5 months ago (2014-07-21 18:06:12 UTC) #1
kenrb
ipc lgtm
6 years, 5 months ago (2014-07-21 19:15:01 UTC) #2
Jeffrey Yasskin
https://codereview.chromium.org/404613006/diff/20001/extensions/common/extension_messages.h File extensions/common/extension_messages.h (right): https://codereview.chromium.org/404613006/diff/20001/extensions/common/extension_messages.h#newcode390 extensions/common/extension_messages.h:390: IPC_MESSAGE_CONTROL3(ExtensionMsg_UpdateUserScripts, How are you going to use the scripts ...
6 years, 5 months ago (2014-07-24 21:09:20 UTC) #3
Mark Dittmer
Addressed first round of comments: Fix use of scoped and linked ptrs, better documentation. https://codereview.chromium.org/404613006/diff/20001/extensions/common/extension_messages.h ...
6 years, 5 months ago (2014-07-25 15:09:05 UTC) #4
Jeffrey Yasskin
lgtm with a couple nits below. https://codereview.chromium.org/404613006/diff/40001/extensions/common/extension_messages.h File extensions/common/extension_messages.h (right): https://codereview.chromium.org/404613006/diff/40001/extensions/common/extension_messages.h#newcode384 extensions/common/extension_messages.h:384: // If |owner| ...
6 years, 4 months ago (2014-07-28 17:47:16 UTC) #5
Devlin
Adding myself as a reviewer for this one - still a few things I think ...
6 years, 4 months ago (2014-07-28 18:15:28 UTC) #6
Mark Dittmer
Responded to all comments and implemented fixes for each. https://codereview.chromium.org/404613006/diff/40001/chrome/browser/extensions/user_script_master.cc File chrome/browser/extensions/user_script_master.cc (right): https://codereview.chromium.org/404613006/diff/40001/chrome/browser/extensions/user_script_master.cc#newcode548 chrome/browser/extensions/user_script_master.cc:548: ...
6 years, 4 months ago (2014-07-28 22:21:29 UTC) #7
Mark Dittmer
The CQ bit was checked by markdittmer@chromium.org
6 years, 4 months ago (2014-07-29 16:25:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/markdittmer@chromium.org/404613006/60001
6 years, 4 months ago (2014-07-29 16:27:09 UTC) #9
Devlin
The CQ bit was unchecked by rdevlin.cronin@chromium.org
6 years, 4 months ago (2014-07-29 16:34:18 UTC) #10
Devlin
On 2014/07/29 16:34:18, Devlin wrote: > The CQ bit was unchecked by mailto:rdevlin.cronin@chromium.org Looks like ...
6 years, 4 months ago (2014-07-29 16:35:16 UTC) #11
Mark Dittmer
Fixed UserScriptMasterManager according to comments. My apologies for the early commit attempt. Skipped over one ...
6 years, 4 months ago (2014-07-29 16:59:31 UTC) #12
Devlin
Few more small comments. https://codereview.chromium.org/404613006/diff/80001/extensions/common/extension_messages.h File extensions/common/extension_messages.h (right): https://codereview.chromium.org/404613006/diff/80001/extensions/common/extension_messages.h#newcode390 extensions/common/extension_messages.h:390: // supported for per-extension programmatically ...
6 years, 4 months ago (2014-07-29 17:11:57 UTC) #13
Mark Dittmer
Implemented fixes for third round of comments. https://codereview.chromium.org/404613006/diff/80001/extensions/common/extension_messages.h File extensions/common/extension_messages.h (right): https://codereview.chromium.org/404613006/diff/80001/extensions/common/extension_messages.h#newcode390 extensions/common/extension_messages.h:390: // supported ...
6 years, 4 months ago (2014-07-29 22:01:14 UTC) #14
Devlin
LGTM! =) https://codereview.chromium.org/404613006/diff/100001/extensions/renderer/user_script_set.h File extensions/renderer/user_script_set.h (right): https://codereview.chromium.org/404613006/diff/100001/extensions/renderer/user_script_set.h#newcode44 extensions/renderer/user_script_set.h:44: virtual ~UserScriptSet(); nit: no longer need virtual ...
6 years, 4 months ago (2014-07-29 22:06:40 UTC) #15
Mark Dittmer
Fixes for last round of comments patched in. https://codereview.chromium.org/404613006/diff/100001/extensions/renderer/user_script_set.h File extensions/renderer/user_script_set.h (right): https://codereview.chromium.org/404613006/diff/100001/extensions/renderer/user_script_set.h#newcode44 extensions/renderer/user_script_set.h:44: virtual ...
6 years, 4 months ago (2014-07-29 22:20:41 UTC) #16
Mark Dittmer
The CQ bit was checked by markdittmer@chromium.org
6 years, 4 months ago (2014-07-29 22:20:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/markdittmer@chromium.org/404613006/120001
6 years, 4 months ago (2014-07-29 22:23:30 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-07-30 06:27:58 UTC) #19
commit-bot: I haz the power
6 years, 4 months ago (2014-07-30 09:52:05 UTC) #20
Message was sent while issue was closed.
Change committed as 286457

Powered by Google App Engine
This is Rietveld 408576698