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

Issue 1097583004: Move the Extension Port implementation out of messaging.js into its own file port.js. (Closed)

Created:
5 years, 8 months ago by not at google - send to devlin
Modified:
5 years, 8 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the Extension Port implementation out of messaging.js into its own file port.js. messaging.js is too large to handle right now. R=rdevlin.cronin@chromium.org BUG=475536 Committed: https://crrev.com/32b3a84be9aa4f70e83bd47c2a5cb32f05ad7f7e Cr-Commit-Position: refs/heads/master@{#325585}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -71 lines) Patch
M extensions/extensions.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/resources/extensions_renderer_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/resources/messaging.js View 6 chunks +11 lines, -71 lines 4 comments Download
A extensions/renderer/resources/port.js View 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
not at google - send to devlin
Pretty simple. I renamed PortImpl to Port as part of this change. PortImpl bugged me ...
5 years, 8 months ago (2015-04-16 23:36:19 UTC) #1
Devlin
https://codereview.chromium.org/1097583004/diff/1/extensions/renderer/resources/messaging.js File extensions/renderer/resources/messaging.js (right): https://codereview.chromium.org/1097583004/diff/1/extensions/renderer/resources/messaging.js#newcode308 extensions/renderer/resources/messaging.js:308: privates(port).impl.onDestroy_ = function() { I don't love this part, ...
5 years, 8 months ago (2015-04-17 00:14:52 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/1097583004/diff/1/extensions/renderer/resources/messaging.js File extensions/renderer/resources/messaging.js (right): https://codereview.chromium.org/1097583004/diff/1/extensions/renderer/resources/messaging.js#newcode308 extensions/renderer/resources/messaging.js:308: privates(port).impl.onDestroy_ = function() { On 2015/04/17 00:14:52, Devlin wrote: ...
5 years, 8 months ago (2015-04-17 00:16:34 UTC) #3
Devlin
Assuming this is a temporary fix until implemented in C++, lgtm with or without the ...
5 years, 8 months ago (2015-04-17 00:25:53 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/1097583004/diff/1/extensions/renderer/resources/messaging.js File extensions/renderer/resources/messaging.js (right): https://codereview.chromium.org/1097583004/diff/1/extensions/renderer/resources/messaging.js#newcode308 extensions/renderer/resources/messaging.js:308: privates(port).impl.onDestroy_ = function() { On 2015/04/17 00:25:52, Devlin wrote: ...
5 years, 8 months ago (2015-04-17 00:27:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097583004/1
5 years, 8 months ago (2015-04-17 00:30:06 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 8 months ago (2015-04-17 02:02:49 UTC) #8
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 02:04:02 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/32b3a84be9aa4f70e83bd47c2a5cb32f05ad7f7e
Cr-Commit-Position: refs/heads/master@{#325585}

Powered by Google App Engine
This is Rietveld 408576698