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

Issue 2295753003: [Extensions] Clean up MessagingBindings (Closed)

Created:
4 years, 3 months ago by Devlin
Modified:
4 years, 3 months 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] Clean up MessagingBindings MessagingBindings contains the custom bindings for extension messaging, but most of the implementation is buried in an "ExtensionImpl" class in an anonymous namespace. Apart from being a misleading name (I think this dates back to the chrome.extension API), this makes the code hard to read. Since I'm making changes here for crbug.com/642380, clean up the code here with no behavior changes. Make MessagingBindings (which previously just had static methods) encompass ExtensionImpl, and remove some unneeded includes. BUG=642380 Committed: https://crrev.com/4012b3bab05e4abd00ea9e50f96807d9bb014126 Cr-Commit-Position: refs/heads/master@{#415693}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -121 lines) Patch
M extensions/renderer/dispatcher.cc View 1 chunk +1 line, -2 lines 0 comments Download
M extensions/renderer/messaging_bindings.h View 2 chunks +28 lines, -17 lines 0 comments Download
M extensions/renderer/messaging_bindings.cc View 6 chunks +73 lines, -102 lines 1 comment Download

Messages

Total messages: 12 (7 generated)
Devlin
Istiaque, mind taking a look? This one's just clean up - no behavior changes. https://codereview.chromium.org/2295753003/diff/1/extensions/renderer/messaging_bindings.cc ...
4 years, 3 months ago (2016-08-30 22:40:56 UTC) #3
lazyboy
lgtm (this one slipped through).
4 years, 3 months ago (2016-08-31 17:40:39 UTC) #7
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/2295753003/1
4 years, 3 months ago (2016-08-31 18:25:01 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-31 18:37:03 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 18:39:52 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4012b3bab05e4abd00ea9e50f96807d9bb014126
Cr-Commit-Position: refs/heads/master@{#415693}

Powered by Google App Engine
This is Rietveld 408576698