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

Issue 2952893002: [Extensions Bindings] Move setHandleRequestWithPromise to util (Closed)

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

Description

[Extensions Bindings] Move setHandleRequestWithPromise to util The JS bindings provides a setHandleRequestWithUtil() method in addition to setHandleRequest(). This is currently used only in one location, and is already implemented in terms of setHandleRequest (which has a native equivalent). Move this to the common util file to avoid dependencies on binding.js. BUG=653596 TEST=browser_tests --gtest_filter=PDFExtensionTest.BlockDirectAccess --native-crx-bindings=1 Review-Url: https://codereview.chromium.org/2952893002 Cr-Commit-Position: refs/heads/master@{#483430} Committed: https://chromium.googlesource.com/chromium/src/+/e5e0e9ee896c6e6ce80549d6ef2fcbd96589532f

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : fix #

Total comments: 4

Patch Set 4 : lazyboy's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -36 lines) Patch
M extensions/renderer/resources/binding.js View 1 2 3 1 chunk +0 lines, -30 lines 0 comments Download
M extensions/renderer/resources/mime_handler_private_custom_bindings.js View 1 2 3 2 chunks +11 lines, -4 lines 0 comments Download
M extensions/renderer/resources/utils.js View 1 2 3 2 chunks +50 lines, -0 lines 0 comments Download
M extensions/test/data/keep_alive_client_unittest.js View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (18 generated)
Devlin
lazyboy@, mind taking a look? jbroman@, FYI
3 years, 6 months ago (2017-06-22 16:10:00 UTC) #9
jbroman
https://codereview.chromium.org/2952893002/diff/40001/extensions/renderer/resources/utils.js File extensions/renderer/resources/utils.js (right): https://codereview.chromium.org/2952893002/diff/40001/extensions/renderer/resources/utils.js#newcode256 extensions/renderer/resources/utils.js:256: var keepAlivePromise = requireAsync('keep_alive').then(function(module) { FYI: since you're using ...
3 years, 6 months ago (2017-06-22 17:31:43 UTC) #12
Devlin
https://codereview.chromium.org/2952893002/diff/40001/extensions/renderer/resources/utils.js File extensions/renderer/resources/utils.js (right): https://codereview.chromium.org/2952893002/diff/40001/extensions/renderer/resources/utils.js#newcode256 extensions/renderer/resources/utils.js:256: var keepAlivePromise = requireAsync('keep_alive').then(function(module) { On 2017/06/22 17:31:43, jbroman ...
3 years, 6 months ago (2017-06-22 18:43:20 UTC) #13
lazyboy
lgtm https://codereview.chromium.org/2952893002/diff/40001/extensions/renderer/resources/utils.js File extensions/renderer/resources/utils.js (right): https://codereview.chromium.org/2952893002/diff/40001/extensions/renderer/resources/utils.js#newcode248 extensions/renderer/resources/utils.js:248: binding, methodName, apiName, customizedFunction) { nit: apiName before ...
3 years, 5 months ago (2017-06-29 00:05:00 UTC) #14
Devlin
https://codereview.chromium.org/2952893002/diff/40001/extensions/renderer/resources/utils.js File extensions/renderer/resources/utils.js (right): https://codereview.chromium.org/2952893002/diff/40001/extensions/renderer/resources/utils.js#newcode248 extensions/renderer/resources/utils.js:248: binding, methodName, apiName, customizedFunction) { On 2017/06/29 00:05:00, lazyboy ...
3 years, 5 months ago (2017-06-29 18:21:26 UTC) #19
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/2952893002/60001
3 years, 5 months ago (2017-06-29 18:21:57 UTC) #22
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 18:26:09 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e5e0e9ee896c6e6ce80549d6ef2f...

Powered by Google App Engine
This is Rietveld 408576698