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

Issue 2412783002: Only inject mojo builtins to contexts with the mojoPrivate API feature. (Closed)

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

Description

Only inject mojo builtins to contexts with the mojoPrivate API feature. The mojo JS bindings are only used by the mimeHandlerPrivate and mojoPrivate APIs. BUG=636655 Committed: https://crrev.com/9152fe906781b3e9fe03b98820cb9d3c8cbb7802 Cr-Commit-Position: refs/heads/master@{#425196}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -5 lines) Patch
M extensions/renderer/module_system.cc View 1 2 2 chunks +18 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (16 generated)
Sam McNally
4 years, 2 months ago (2016-10-12 04:36:34 UTC) #6
Devlin
https://codereview.chromium.org/2412783002/diff/1/extensions/renderer/module_system.cc File extensions/renderer/module_system.cc (right): https://codereview.chromium.org/2412783002/diff/1/extensions/renderer/module_system.cc#newcode174 extensions/renderer/module_system.cc:174: context_->GetAvailability("mojoPrivate").is_available()) { This doesn't seem to be quite the ...
4 years, 2 months ago (2016-10-12 14:58:09 UTC) #7
Sam McNally
https://codereview.chromium.org/2412783002/diff/1/extensions/renderer/module_system.cc File extensions/renderer/module_system.cc (right): https://codereview.chromium.org/2412783002/diff/1/extensions/renderer/module_system.cc#newcode174 extensions/renderer/module_system.cc:174: context_->GetAvailability("mojoPrivate").is_available()) { On 2016/10/12 14:58:09, Devlin wrote: > This ...
4 years, 2 months ago (2016-10-13 07:13:08 UTC) #12
Devlin
Thanks! lgtm with nits https://codereview.chromium.org/2412783002/diff/20001/extensions/renderer/module_system.cc File extensions/renderer/module_system.cc (right): https://codereview.chromium.org/2412783002/diff/20001/extensions/renderer/module_system.cc#newcode116 extensions/renderer/module_system.cc:116: // bindings at least one ...
4 years, 2 months ago (2016-10-13 14:44:14 UTC) #13
Sam McNally
https://codereview.chromium.org/2412783002/diff/20001/extensions/renderer/module_system.cc File extensions/renderer/module_system.cc (right): https://codereview.chromium.org/2412783002/diff/20001/extensions/renderer/module_system.cc#newcode116 extensions/renderer/module_system.cc:116: // bindings at least one is available. On 2016/10/13 ...
4 years, 2 months ago (2016-10-13 22:24:50 UTC) #18
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/2412783002/40001
4 years, 2 months ago (2016-10-13 22:26:26 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-13 22:34:40 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 22:37:38 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9152fe906781b3e9fe03b98820cb9d3c8cbb7802
Cr-Commit-Position: refs/heads/master@{#425196}

Powered by Google App Engine
This is Rietveld 408576698