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

Issue 2556153002: [Extensions] Convert more callers of CallModuleMethod (Closed)

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

Description

[Extensions] Convert more callers of CallModuleMethod ModuleSystem::CallModuleMethod is deprecated (see bug for more info). Convert some callers to use ModuleSystem::CallModuleMethodSafe. Some callers need the results from the JS call, so introduce a callback to the safe versions of CallModuleMethod and CallFunction. BUG=629431 Committed: https://crrev.com/0d94256f8ece8ddbb5f3a5c01b31fa42942ef5e7 Cr-Commit-Position: refs/heads/master@{#437545}

Patch Set 1 : revertdoc #

Total comments: 1

Patch Set 2 : nit #

Patch Set 3 : revert doc change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -39 lines) Patch
M extensions/renderer/api_test_base.cc View 1 chunk +15 lines, -6 lines 0 comments Download
M extensions/renderer/module_system.h View 1 3 chunks +7 lines, -3 lines 0 comments Download
M extensions/renderer/module_system.cc View 1 3 chunks +15 lines, -12 lines 0 comments Download
M extensions/renderer/script_context.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M extensions/renderer/script_context.cc View 1 chunk +21 lines, -2 lines 0 comments Download
M extensions/renderer/script_injection.h View 3 chunks +2 lines, -6 lines 0 comments Download
M extensions/renderer/script_injection.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/renderer/script_injection_callback.h View 2 chunks +3 lines, -6 lines 0 comments Download
M extensions/renderer/script_injection_callback.cc View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 37 (32 generated)
Devlin
4 years ago (2016-12-07 20:58:10 UTC) #15
lazyboy
lgtm with one nit https://codereview.chromium.org/2556153002/diff/40001/extensions/renderer/script_context.h File extensions/renderer/script_context.h (right): https://codereview.chromium.org/2556153002/diff/40001/extensions/renderer/script_context.h#newcode121 extensions/renderer/script_context.h:121: // USE THIS METHOD RATHER ...
4 years ago (2016-12-07 22:48:51 UTC) #16
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/2556153002/90001
4 years ago (2016-12-09 15:29:00 UTC) #32
commit-bot: I haz the power
Committed patchset #3 (id:90001)
4 years ago (2016-12-09 15:34:54 UTC) #35
commit-bot: I haz the power
4 years ago (2016-12-09 15:37:15 UTC) #37
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0d94256f8ece8ddbb5f3a5c01b31fa42942ef5e7
Cr-Commit-Position: refs/heads/master@{#437545}

Powered by Google App Engine
This is Rietveld 408576698