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

Issue 1022663003: Bind open firewall ports to visible application windows. (Closed)

Created:
5 years, 9 months ago by Reilly Grant (use Gerrit)
Modified:
5 years, 9 months ago
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

Bind open firewall ports to visible application windows. To prevent an application from continuing to listen for TCP connections or incoming UDP packets when the user is not aware that it is still running this patch observes the state of its associated AppWindows and opens and closes ports as necessary. The socket itself is left open so that state is not lost. BUG=435404 Committed: https://crrev.com/8d0ba1dfa407f78253c4c676b6e9f81baea2d69f Cr-Commit-Position: refs/heads/master@{#321911}

Patch Set 1 #

Patch Set 2 : Add a dummy implementation of WebContentsModalDialogManager::CreateNativeWebModalManager to fix lin… #

Total comments: 8

Patch Set 3 : Address rpaquay's comments and fix GN build. #

Patch Set 4 : Actually fix the GN build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+315 lines, -51 lines) Patch
M extensions/BUILD.gn View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
A extensions/browser/api/socket/app_firewall_hole_manager.h View 1 2 1 chunk +96 lines, -0 lines 0 comments Download
A extensions/browser/api/socket/app_firewall_hole_manager.cc View 1 2 1 chunk +166 lines, -0 lines 0 comments Download
M extensions/browser/api/socket/socket.h View 3 chunks +6 lines, -4 lines 0 comments Download
M extensions/browser/api/socket/socket_api.h View 3 chunks +12 lines, -9 lines 0 comments Download
M extensions/browser/api/socket/socket_api.cc View 1 2 7 chunks +32 lines, -35 lines 0 comments Download
M extensions/extensions.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/extensions_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Reilly Grant (use Gerrit)
rpaquay@, please take a look. jorgelo@, please give security sign-off.
5 years, 9 months ago (2015-03-18 23:26:45 UTC) #3
Jorge Lucangeli Obes
On 2015/03/18 23:26:45, reillyg wrote: > rpaquay@, please take a look. > jorgelo@, please give ...
5 years, 9 months ago (2015-03-20 17:34:14 UTC) #4
Reilly Grant (use Gerrit)
On 2015/03/18 23:26:45, reillyg wrote: > rpaquay@, please take a look. Ping?
5 years, 9 months ago (2015-03-23 16:12:44 UTC) #5
rpaquay
Sorry about the delay, the change is good i think, I just had a couple ...
5 years, 9 months ago (2015-03-23 18:29:07 UTC) #6
Reilly Grant (use Gerrit)
https://codereview.chromium.org/1022663003/diff/20001/extensions/browser/api/socket/app_firewall_hole_manager.cc File extensions/browser/api/socket/app_firewall_hole_manager.cc (right): https://codereview.chromium.org/1022663003/diff/20001/extensions/browser/api/socket/app_firewall_hole_manager.cc#newcode71 extensions/browser/api/socket/app_firewall_hole_manager.cc:71: AppFirewallHole::~AppFirewallHole() { On 2015/03/23 18:29:07, rpaquay wrote: > nit: ...
5 years, 9 months ago (2015-03-23 20:09:31 UTC) #7
rpaquay
lgtm https://codereview.chromium.org/1022663003/diff/20001/extensions/browser/api/socket/app_firewall_hole_manager.h File extensions/browser/api/socket/app_firewall_hole_manager.h (right): https://codereview.chromium.org/1022663003/diff/20001/extensions/browser/api/socket/app_firewall_hole_manager.h#newcode73 extensions/browser/api/socket/app_firewall_hole_manager.h:73: AppFirewallHole* Open(AppFirewallHole::PortType type, > While in general I ...
5 years, 9 months ago (2015-03-23 21:04:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1022663003/60001
5 years, 9 months ago (2015-03-23 23:11:03 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-24 00:32:04 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 00:32:35 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8d0ba1dfa407f78253c4c676b6e9f81baea2d69f
Cr-Commit-Position: refs/heads/master@{#321911}

Powered by Google App Engine
This is Rietveld 408576698