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

Issue 988633003: Refactoring: de-couple Extensions from "script injection System" [render side]:4 (Closed)

Created:
5 years, 9 months ago by Xi Han
Modified:
5 years, 9 months ago
Reviewers:
kenrb, Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactoring: de-couple Extensions from "script injection System" [render side]:4 Replace extension_id with host_id to avoid extension-specific check on webUI. BUG=459234 Committed: https://crrev.com/3df97b200b7105e90e59703b3ee6d42581a3d125 Cr-Commit-Position: refs/heads/master@{#320185}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Devlin's comments. #

Total comments: 2

Patch Set 3 : nits. #

Total comments: 1

Patch Set 4 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -84 lines) Patch
M extensions/browser/user_script_loader.cc View 1 chunk +2 lines, -8 lines 0 comments Download
M extensions/common/extension_messages.h View 1 2 1 chunk +8 lines, -7 lines 0 comments Download
M extensions/renderer/dispatcher.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/dispatcher.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M extensions/renderer/script_injection_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/script_injection_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/renderer/user_script_injector.h View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/renderer/user_script_injector.cc View 3 chunks +8 lines, -9 lines 0 comments Download
M extensions/renderer/user_script_set.h View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/renderer/user_script_set.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M extensions/renderer/user_script_set_manager.h View 3 chunks +7 lines, -8 lines 0 comments Download
M extensions/renderer/user_script_set_manager.cc View 1 2 3 2 chunks +36 lines, -36 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
Xi Han
5 years, 9 months ago (2015-03-06 23:15:36 UTC) #2
Devlin
Just a few small things. https://codereview.chromium.org/988633003/diff/60001/extensions/common/extension_messages.h File extensions/common/extension_messages.h (right): https://codereview.chromium.org/988633003/diff/60001/extensions/common/extension_messages.h#newcode453 extensions/common/extension_messages.h:453: // hosts' statically defined ...
5 years, 9 months ago (2015-03-09 16:00:05 UTC) #6
Xi Han
PTAL, thanks! https://codereview.chromium.org/988633003/diff/60001/extensions/common/extension_messages.h File extensions/common/extension_messages.h (right): https://codereview.chromium.org/988633003/diff/60001/extensions/common/extension_messages.h#newcode453 extensions/common/extension_messages.h:453: // hosts' statically defined scripts. So for, ...
5 years, 9 months ago (2015-03-09 19:12:37 UTC) #8
Devlin
Looks like you have a compile error https://codereview.chromium.org/988633003/diff/100001/extensions/renderer/user_script_set_manager.cc File extensions/renderer/user_script_set_manager.cc (right): https://codereview.chromium.org/988633003/diff/100001/extensions/renderer/user_script_set_manager.cc#newcode143 extensions/renderer/user_script_set_manager.cc:143: } nit: ...
5 years, 9 months ago (2015-03-10 21:44:57 UTC) #9
Xi Han
I shouldn't start try-bot jobs since this patch was based on another CL. After that ...
5 years, 9 months ago (2015-03-10 23:52:09 UTC) #10
Devlin
lgtm https://codereview.chromium.org/988633003/diff/120001/extensions/renderer/user_script_set_manager.cc File extensions/renderer/user_script_set_manager.cc (right): https://codereview.chromium.org/988633003/diff/120001/extensions/renderer/user_script_set_manager.cc#newcode141 extensions/renderer/user_script_set_manager.cc:141: for (std::string extension_id : extension_ids) const std::string&
5 years, 9 months ago (2015-03-11 18:12:20 UTC) #11
Xi Han
kenrb@chromium.org: Please review changes in -extensions/common/extension_messages.h Thanks!
5 years, 9 months ago (2015-03-11 19:03:54 UTC) #13
kenrb
ipc lgtm
5 years, 9 months ago (2015-03-11 19:14:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/988633003/140001
5 years, 9 months ago (2015-03-11 19:38:41 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/43793)
5 years, 9 months ago (2015-03-11 21:18:20 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/988633003/140001
5 years, 9 months ago (2015-03-11 23:38:28 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:140001)
5 years, 9 months ago (2015-03-11 23:40:25 UTC) #22
commit-bot: I haz the power
5 years, 9 months ago (2015-03-11 23:41:27 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3df97b200b7105e90e59703b3ee6d42581a3d125
Cr-Commit-Position: refs/heads/master@{#320185}

Powered by Google App Engine
This is Rietveld 408576698