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

Issue 15855010: Make ExtensionMsg_MessageInvoke run a module system function rather than a (Closed)

Created:
7 years, 6 months ago by not at google - send to devlin
Modified:
7 years, 6 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Replace all occurrences of CallChromeHiddenMethod (and friends) with CallModuleMethod. This also makes ExtensionMsg_MessageInvoke run a module system function rather than a chromeHidden function, meaning we can now lazily load the extension event handling code (i.e. miscellaneous_bindings). BUG=55316 TBR=cdn@chromium.org, koz@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204157

Patch Set 1 #

Patch Set 2 : for try #

Patch Set 3 : go #

Total comments: 8

Patch Set 4 : rebase, comments #

Patch Set 5 : some comments #

Patch Set 6 : debugging for android build #

Patch Set 7 : debugging for android build take 2 #

Patch Set 8 : ok, fixed android #

Patch Set 9 : rebase #

Patch Set 10 : fix test compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+524 lines, -477 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/file_handler_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/app_window_contents.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/event_router.cc View 4 5 6 7 8 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_messages.h View 2 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/renderer/extensions/app_bindings.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/renderer/extensions/chrome_v8_context.h View 1 2 3 4 2 chunks +10 lines, -10 lines 0 comments Download
M chrome/renderer/extensions/chrome_v8_context.cc View 1 2 3 4 5 6 7 8 9 chunks +23 lines, -63 lines 0 comments Download
M chrome/renderer/extensions/chrome_v8_context_set.h View 1 2 3 2 chunks +11 lines, -11 lines 0 comments Download
M chrome/renderer/extensions/chrome_v8_context_set.cc View 4 chunks +4 lines, -23 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.h View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 1 2 3 4 5 6 7 8 10 chunks +89 lines, -43 lines 0 comments Download
M chrome/renderer/extensions/event_unittest.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/renderer/extensions/extension_helper.h View 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/extensions/extension_helper.cc View 1 2 3 2 chunks +6 lines, -8 lines 0 comments Download
M chrome/renderer/extensions/miscellaneous_bindings.cc View 1 2 3 4 5 6 7 8 7 chunks +19 lines, -33 lines 0 comments Download
M chrome/renderer/extensions/module_system.h View 1 2 3 4 5 6 7 8 5 chunks +16 lines, -6 lines 0 comments Download
M chrome/renderer/extensions/module_system.cc View 1 2 3 4 5 6 7 8 9 chunks +60 lines, -39 lines 0 comments Download
M chrome/renderer/extensions/module_system_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/webstore_bindings.cc View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/renderer/resources/extensions/app_custom_bindings.js View 1 2 3 4 3 chunks +9 lines, -12 lines 0 comments Download
M chrome/renderer/resources/extensions/app_window_custom_bindings.js View 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/renderer/resources/extensions/event.js View 6 7 4 chunks +6 lines, -18 lines 0 comments Download
M chrome/renderer/resources/extensions/extension_custom_bindings.js View 1 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/renderer/resources/extensions/miscellaneous_bindings.js View 2 9 chunks +118 lines, -120 lines 0 comments Download
M chrome/renderer/resources/extensions/runtime_custom_bindings.js View 6 chunks +17 lines, -17 lines 0 comments Download
M chrome/renderer/resources/extensions/send_request.js View 6 chunks +15 lines, -6 lines 0 comments Download
M chrome/renderer/resources/extensions/tabs_custom_bindings.js View 2 chunks +6 lines, -7 lines 0 comments Download
A chrome/renderer/resources/extensions/unload_event.js View 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/webstore_custom_bindings.js View 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/renderer/resources/renderer_resources.grd View 1 2 3 4 5 6 7 1 chunk +10 lines, -9 lines 0 comments Download
M chrome/test/base/module_system_test.cc View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
not at google - send to devlin
koz - everything cdn - extension_messages.h (this is the last one, promise) This is based ...
7 years, 6 months ago (2013-05-31 00:02:18 UTC) #1
not at google - send to devlin
Sorry the CL description wasn't broad enough - it actually gets rid of CallChromeHiddenMethod entirely, ...
7 years, 6 months ago (2013-05-31 00:05:53 UTC) #2
koz (OOO until 15th September)
lgtm Cool change! https://codereview.chromium.org/15855010/diff/10001/chrome/renderer/extensions/chrome_v8_context_set.h File chrome/renderer/extensions/chrome_v8_context_set.h (right): https://codereview.chromium.org/15855010/diff/10001/chrome/renderer/extensions/chrome_v8_context_set.h#newcode63 chrome/renderer/extensions/chrome_v8_context_set.h:63: // Re-entrantly runs |callback| with each ...
7 years, 6 months ago (2013-05-31 04:28:43 UTC) #3
Cris Neckar
IPC changes LGTM
7 years, 6 months ago (2013-05-31 18:30:31 UTC) #4
Matt Perry
This is really awesome.
7 years, 6 months ago (2013-05-31 20:22:22 UTC) #5
not at google - send to devlin
https://codereview.chromium.org/15855010/diff/10001/chrome/renderer/extensions/chrome_v8_context_set.h File chrome/renderer/extensions/chrome_v8_context_set.h (right): https://codereview.chromium.org/15855010/diff/10001/chrome/renderer/extensions/chrome_v8_context_set.h#newcode63 chrome/renderer/extensions/chrome_v8_context_set.h:63: // Re-entrantly runs |callback| with each ChromeV8Context that belongs ...
7 years, 6 months ago (2013-05-31 22:47:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/15855010/23001
7 years, 6 months ago (2013-05-31 23:03:17 UTC) #7
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=6240
7 years, 6 months ago (2013-05-31 23:14:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/15855010/23001
7 years, 6 months ago (2013-05-31 23:16:57 UTC) #9
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test on builder ...
7 years, 6 months ago (2013-06-01 04:55:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/15855010/23001
7 years, 6 months ago (2013-06-01 05:44:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/15855010/23001
7 years, 6 months ago (2013-06-02 18:44:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/15855010/61001
7 years, 6 months ago (2013-06-03 14:24:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/15855010/64003
7 years, 6 months ago (2013-06-03 14:39:59 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=46244
7 years, 6 months ago (2013-06-03 15:15:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/15855010/62008
7 years, 6 months ago (2013-06-03 15:42:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/15855010/74034
7 years, 6 months ago (2013-06-04 23:45:24 UTC) #19
not at google - send to devlin
7 years, 6 months ago (2013-06-05 05:01:28 UTC) #20
Message was sent while issue was closed.
Committed patchset #10 manually as r204157 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698