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

Issue 1036823003: Fix to respect --explicitly-allowed-ports command line option-Chromium Side (Closed)

Created:
5 years, 9 months ago by Paritosh Kumar
Modified:
5 years, 8 months ago
CC:
Savago, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix to respect --explicitly-allowed-ports command line option-Chromium Side [PATCH 1] : This Patch [PATCH 2] : https://codereview.chromium.org/908483002/ BUG=223927 Committed: https://crrev.com/7e30c90e940c127f8352e5b514cf22814929882a Cr-Commit-Position: refs/heads/master@{#325263}

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -5 lines) Patch
M chrome/browser/ui/startup/startup_browser_creator.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/child/blink_platform_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl_unittest.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (4 generated)
Paritosh Kumar
@tyoshino: As per https://codereview.chromium.org/908483002/#msg13 trying to initialize g_explicitly_allowed_ports from renderer process using RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(). This cl ...
5 years, 9 months ago (2015-03-26 09:25:34 UTC) #2
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1036823003/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/1036823003/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode37 content/browser/renderer_host/render_process_host_impl.cc:37: #include "chrome/common/chrome_switches.h" On 2015/03/26 09:25:34, Paritosh Kumar wrote: > ...
5 years, 8 months ago (2015-03-30 06:41:01 UTC) #3
eroman
https://codereview.chromium.org/1036823003/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/1036823003/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode37 content/browser/renderer_host/render_process_host_impl.cc:37: #include "chrome/common/chrome_switches.h" On 2015/03/30 06:41:01, tyoshino wrote: > On ...
5 years, 8 months ago (2015-03-30 19:40:02 UTC) #4
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1036823003/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/1036823003/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode37 content/browser/renderer_host/render_process_host_impl.cc:37: #include "chrome/common/chrome_switches.h" On 2015/03/30 19:40:02, eroman wrote: > On ...
5 years, 8 months ago (2015-03-31 04:45:41 UTC) #5
Paritosh Kumar
Thanks tyoshino and eroman Added kExplicitlyAllowedPorts in content_switch.h. https://codereview.chromium.org/1036823003/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/1036823003/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode37 content/browser/renderer_host/render_process_host_impl.cc:37: #include ...
5 years, 8 months ago (2015-04-01 13:38:06 UTC) #6
eroman
The overall approach looks reasonable. I have some comments on the API being exposed in ...
5 years, 8 months ago (2015-04-10 01:32:17 UTC) #7
Paritosh Kumar
Thanks eroman Updated the cl. Please have a look. https://codereview.chromium.org/1036823003/diff/20001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/1036823003/diff/20001/content/child/blink_platform_impl.cc#newcode509 content/child/blink_platform_impl.cc:509: ...
5 years, 8 months ago (2015-04-10 12:34:33 UTC) #8
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/1036823003/diff/20001/content/public/common/content_switches.h File content/public/common/content_switches.h (right): https://codereview.chromium.org/1036823003/diff/20001/content/public/common/content_switches.h#newcode148 content/public/common/content_switches.h:148: CONTENT_EXPORT extern const char kExplicitlyAllowedPorts[]; On 2015/04/10 12:34:32, ...
5 years, 8 months ago (2015-04-13 14:28:16 UTC) #9
eroman
looks good after addressing these comments https://codereview.chromium.org/1036823003/diff/60001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/1036823003/diff/60001/content/child/blink_platform_impl.cc#newcode511 content/child/blink_platform_impl.cc:511: if (gurl.SchemeIsFile()) I ...
5 years, 8 months ago (2015-04-13 15:55:35 UTC) #10
Paritosh Kumar
Thanks tyoshino and eroman Updated. Please have a look. https://codereview.chromium.org/1036823003/diff/60001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/1036823003/diff/60001/content/child/blink_platform_impl.cc#newcode511 content/child/blink_platform_impl.cc:511: ...
5 years, 8 months ago (2015-04-14 14:50:35 UTC) #11
eroman
LGTM after addressing comment below. https://codereview.chromium.org/1036823003/diff/80001/content/child/blink_platform_impl_unittest.cc File content/child/blink_platform_impl_unittest.cc (right): https://codereview.chromium.org/1036823003/diff/80001/content/child/blink_platform_impl_unittest.cc#newcode125 content/child/blink_platform_impl_unittest.cc:125: EXPECT_TRUE(platform_impl.portAllowed(GURL("example.com"))); What does this ...
5 years, 8 months ago (2015-04-14 16:38:15 UTC) #12
Paritosh Kumar
Thanks eroman Addressed Your comment. Adding Lei Zhang and avi for further review. Lei: Please ...
5 years, 8 months ago (2015-04-15 05:43:19 UTC) #14
Lei Zhang
chrome/ lgtm
5 years, 8 months ago (2015-04-15 05:56:19 UTC) #15
jochen (gone - plz use gerrit)
lgtm
5 years, 8 months ago (2015-04-15 15:29:33 UTC) #16
Avi (use Gerrit)
lgtm
5 years, 8 months ago (2015-04-15 15:32:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1036823003/100001
5 years, 8 months ago (2015-04-15 15:49:34 UTC) #20
eroman
patchset 6 still LGTM
5 years, 8 months ago (2015-04-15 15:58:59 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-15 17:04:19 UTC) #22
commit-bot: I haz the power
5 years, 8 months ago (2015-04-15 17:05:22 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7e30c90e940c127f8352e5b514cf22814929882a
Cr-Commit-Position: refs/heads/master@{#325263}

Powered by Google App Engine
This is Rietveld 408576698