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

Issue 995283004: Move Extension ScriptContext creation into ScriptContextSet. (Closed)

Created:
5 years, 9 months ago by not at google - send to devlin
Modified:
5 years, 9 months ago
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

Move Extension ScriptContext creation into ScriptContextSet. Previously extensions::Dispatcher was responsible for creating ScriptContexts then Adding them to its ScriptContextSet. Now, ScriptContextSet creates them itself. This prepares the Extension system for later changing to lazily or asynchronously creating ScriptContexts. BUG=466373 R=rockot@chromium.org Committed: https://crrev.com/745b66237eca67b22225941eb475ba8a995e1287 Cr-Commit-Position: refs/heads/master@{#320971}

Patch Set 1 #

Patch Set 2 : Ready #

Total comments: 6

Patch Set 3 : rebase #

Patch Set 4 : fix gin memory leak #

Patch Set 5 : TRY AGAIN #

Patch Set 6 : fix memory for real #

Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -294 lines) Patch
M chrome/renderer/extensions/webstore_bindings.h View 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/renderer/extensions/webstore_bindings.cc View 4 chunks +6 lines, -4 lines 0 comments Download
M extensions/renderer/dispatcher.h View 1 2 7 chunks +5 lines, -21 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 1 2 3 16 chunks +26 lines, -157 lines 0 comments Download
M extensions/renderer/document_custom_bindings.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/request_sender.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/renderer/script_context.h View 1 2 5 chunks +23 lines, -5 lines 0 comments Download
M extensions/renderer/script_context.cc View 1 2 3 4 5 4 chunks +23 lines, -2 lines 0 comments Download
M extensions/renderer/script_context_set.h View 1 4 chunks +64 lines, -20 lines 0 comments Download
M extensions/renderer/script_context_set.cc View 4 chunks +136 lines, -49 lines 0 comments Download
D extensions/renderer/script_context_set_unittest.cc View 1 2 3 4 5 1 chunk +32 lines, -30 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
not at google - send to devlin
https://codereview.chromium.org/995283004/diff/20001/extensions/renderer/script_context_set.h File extensions/renderer/script_context_set.h (right): https://codereview.chromium.org/995283004/diff/20001/extensions/renderer/script_context_set.h#newcode48 extensions/renderer/script_context_set.h:48: // Must outlive this. TODO(kalman): Combine this and |extensions|. ...
5 years, 9 months ago (2015-03-12 16:59:57 UTC) #1
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/995283004/diff/20001/extensions/renderer/script_context_set.cc File extensions/renderer/script_context_set.cc (right): https://codereview.chromium.org/995283004/diff/20001/extensions/renderer/script_context_set.cc#newcode143 extensions/renderer/script_context_set.cc:143: // TODO(kalman): Do something here? Unless I'm reading ...
5 years, 9 months ago (2015-03-12 22:45:16 UTC) #2
not at google - send to devlin
Thanks https://codereview.chromium.org/995283004/diff/20001/extensions/renderer/script_context_set.cc File extensions/renderer/script_context_set.cc (right): https://codereview.chromium.org/995283004/diff/20001/extensions/renderer/script_context_set.cc#newcode143 extensions/renderer/script_context_set.cc:143: // TODO(kalman): Do something here? On 2015/03/12 22:45:16, ...
5 years, 9 months ago (2015-03-12 22:48:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/995283004/20001
5 years, 9 months ago (2015-03-12 22:48:56 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/4981) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 9 months ago (2015-03-12 22:52:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/995283004/40001
5 years, 9 months ago (2015-03-13 22:16:58 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-13 23:07:28 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/75605c7fca774b95984ba67f70ba86bb5750c0f6 Cr-Commit-Position: refs/heads/master@{#320602}
5 years, 9 months ago (2015-03-13 23:08:08 UTC) #12
not at google - send to devlin
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1010473002/ by kalman@chromium.org. ...
5 years, 9 months ago (2015-03-14 00:50:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/995283004/60001
5 years, 9 months ago (2015-03-16 18:18:07 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-16 19:16:36 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/52f4caf6d01302ebf42136b42fa77d1c67d93ae9 Cr-Commit-Position: refs/heads/master@{#320770}
5 years, 9 months ago (2015-03-16 19:17:36 UTC) #18
not at google - send to devlin
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1013823003/ by kalman@chromium.org. ...
5 years, 9 months ago (2015-03-16 21:18:19 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/995283004/100001
5 years, 9 months ago (2015-03-17 20:01:54 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-17 21:07:27 UTC) #23
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 21:08:43 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/745b66237eca67b22225941eb475ba8a995e1287
Cr-Commit-Position: refs/heads/master@{#320971}

Powered by Google App Engine
This is Rietveld 408576698