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

Issue 2512233002: [Extensions Bindings] Add ExtensionBindingsSystem interface; hook it up (Closed)

Created:
4 years, 1 month ago by Devlin
Modified:
4 years, 1 month ago
Reviewers:
lazyboy
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, jbroman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions Bindings] Add ExtensionBindingsSystem interface; hook it up Add an ExtensionBindingsSystem interface to handle exposing bindings to extension contexts, extension API calls and responses, and dispatching events. Pull much of the current JS binding logic out of the dispatcher and into a JsExtensionBindingsSystem implementation; this will allow the bindings system associated with the dispatcher to be easily switched out as we migrate to native bindings. Update NativeExtensionBindingsSystem to implement ExtensionBindingsSystem fully. BUG=653596 Committed: https://crrev.com/9f33889e52c1a6311fd94db31be14fa07a8ad668 Cr-Commit-Position: refs/heads/master@{#433605}

Patch Set 1 : . #

Total comments: 6

Patch Set 2 : lazyboys #

Unified diffs Side-by-side diffs Delta from patch set Stats (+576 lines, -354 lines) Patch
M extensions/renderer/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M extensions/renderer/dispatcher.h View 5 chunks +3 lines, -22 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 20 chunks +52 lines, -286 lines 0 comments Download
A extensions/renderer/extension_bindings_system.h View 1 1 chunk +60 lines, -0 lines 0 comments Download
A extensions/renderer/js_extension_bindings_system.h View 1 chunk +51 lines, -0 lines 0 comments Download
A extensions/renderer/js_extension_bindings_system.cc View 1 1 chunk +311 lines, -0 lines 0 comments Download
M extensions/renderer/native_extension_bindings_system.h View 2 chunks +17 lines, -14 lines 0 comments Download
M extensions/renderer/native_extension_bindings_system.cc View 2 chunks +28 lines, -5 lines 0 comments Download
M extensions/renderer/native_extension_bindings_system_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M extensions/renderer/service_worker_data.h View 2 chunks +5 lines, -5 lines 0 comments Download
M extensions/renderer/service_worker_data.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M extensions/renderer/worker_thread_dispatcher.h View 2 chunks +6 lines, -2 lines 0 comments Download
M extensions/renderer/worker_thread_dispatcher.cc View 1 4 chunks +31 lines, -10 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
Devlin
lazyboy@, mind taking a look? This basically just pulls most of the dispatcher code to ...
4 years, 1 month ago (2016-11-18 21:52:42 UTC) #4
lazyboy
lgtm with a few nits https://codereview.chromium.org/2512233002/diff/20001/extensions/renderer/extension_bindings_system.h File extensions/renderer/extension_bindings_system.h (right): https://codereview.chromium.org/2512233002/diff/20001/extensions/renderer/extension_bindings_system.h#newcode47 extensions/renderer/extension_bindings_system.h:47: // Handles the response ...
4 years, 1 month ago (2016-11-19 03:23:02 UTC) #8
Devlin
https://codereview.chromium.org/2512233002/diff/20001/extensions/renderer/extension_bindings_system.h File extensions/renderer/extension_bindings_system.h (right): https://codereview.chromium.org/2512233002/diff/20001/extensions/renderer/extension_bindings_system.h#newcode47 extensions/renderer/extension_bindings_system.h:47: // Handles the response associated with the given |id|. ...
4 years, 1 month ago (2016-11-21 19:29:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512233002/40001
4 years, 1 month ago (2016-11-21 19:30:41 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 1 month ago (2016-11-21 19:37:32 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-21 19:40:52 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9f33889e52c1a6311fd94db31be14fa07a8ad668
Cr-Commit-Position: refs/heads/master@{#433605}

Powered by Google App Engine
This is Rietveld 408576698