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

Issue 1415483008: Get rid of SandboxedProcessLauncherDelegate::PreSandbox. (Closed)

Created:
5 years, 1 month ago by rickyz (no longer on Chrome)
Modified:
5 years, 1 month ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org, piman+watch_chromium.org, rickyz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Get rid of SandboxedProcessLauncherDelegate::PreSandbox. The exposed_dir argument is only used in utility processes, so that logic is moved to PreSpawnTarget in UtilityProcessHostImpl instead. The disable_default_policy argument is replaced with a DisableDefaultPolicy method instead. BUG=549319 Committed: https://crrev.com/501093188a889c628ddf09e5e19de893bacbea86 Cr-Commit-Position: refs/heads/master@{#358978}

Patch Set 1 #

Patch Set 2 : Fix windows-specific includes #

Patch Set 3 : Fix PreSpawnRenderer call. #

Patch Set 4 : Fix clang build error. #

Patch Set 5 : Missed one clang error. #

Total comments: 4

Patch Set 6 : Remove curly braces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -97 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 2 chunks +5 lines, -11 lines 0 comments Download
M chrome/service/service_utility_process_host.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M components/nacl/broker/nacl_broker_listener.h View 1 chunk +1 line, -1 line 0 comments Download
M components/nacl/broker/nacl_broker_listener.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 4 chunks +11 lines, -16 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 2 3 4 5 3 chunks +7 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/utility_process_host_impl.cc View 1 2 3 4 5 3 chunks +24 lines, -3 lines 0 comments Download
M content/common/sandbox_win.cc View 1 2 3 4 5 7 chunks +10 lines, -36 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/common/sandboxed_process_launcher_delegate.h View 1 2 3 1 chunk +6 lines, -10 lines 0 comments Download
M content/public/common/sandboxed_process_launcher_delegate.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M content/shell/browser/shell_content_browser_client.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_content_browser_client.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
rickyz (no longer on Chrome)
Here's a first small cleanup of the APIs for overriding policies. In a future change, ...
5 years, 1 month ago (2015-11-04 06:40:36 UTC) #2
Will Harris
On 2015/11/04 06:40:36, rickyz wrote: > Here's a first small cleanup of the APIs for ...
5 years, 1 month ago (2015-11-04 23:46:41 UTC) #3
rickyz (no longer on Chrome)
On 2015/11/04 at 23:46:41, wfh wrote: > On 2015/11/04 06:40:36, rickyz wrote: > > Here's ...
5 years, 1 month ago (2015-11-05 01:18:10 UTC) #4
Will Harris
This change lgtm for sandbox_win.cc Please change CL title to SandboxedProcessLauncherDelegate::PreSandbox so it's obvious what's ...
5 years, 1 month ago (2015-11-06 19:26:37 UTC) #5
rickyz (no longer on Chrome)
jochen@ for content/ and chrome/ mseaborn@ for components/nacl/ https://codereview.chromium.org/1415483008/diff/80001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/1415483008/diff/80001/chrome/browser/chrome_content_browser_client.cc#newcode2572 chrome/browser/chrome_content_browser_client.cc:2572: return ...
5 years, 1 month ago (2015-11-10 02:16:32 UTC) #7
Will Harris
https://codereview.chromium.org/1415483008/diff/80001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/1415483008/diff/80001/chrome/browser/chrome_content_browser_client.cc#newcode2572 chrome/browser/chrome_content_browser_client.cc:2572: return false; style guide says no braces... so they ...
5 years, 1 month ago (2015-11-10 17:45:38 UTC) #8
Mark Seaborn
On 2015/11/10 02:16:32, rickyz wrote: > mseaborn@ for components/nacl/ LGTM
5 years, 1 month ago (2015-11-10 18:08:47 UTC) #9
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-11-10 19:52:11 UTC) #10
rickyz (no longer on Chrome)
https://codereview.chromium.org/1415483008/diff/80001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/1415483008/diff/80001/chrome/browser/chrome_content_browser_client.cc#newcode2572 chrome/browser/chrome_content_browser_client.cc:2572: return false; On 2015/11/10 at 17:45:38, Will Harris wrote: ...
5 years, 1 month ago (2015-11-10 23:18:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415483008/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415483008/100001
5 years, 1 month ago (2015-11-10 23:18:18 UTC) #14
Will Harris
can you update CL description as per comment if possible. thanks
5 years, 1 month ago (2015-11-10 23:20:32 UTC) #16
rickyz (no longer on Chrome)
Oops, missed that, sorry - hopefully that was fast enough to get picked up by ...
5 years, 1 month ago (2015-11-10 23:30:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415483008/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415483008/100001
5 years, 1 month ago (2015-11-10 23:37:32 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-11-11 00:37:15 UTC) #21
commit-bot: I haz the power
5 years, 1 month ago (2015-11-11 00:38:49 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/501093188a889c628ddf09e5e19de893bacbea86
Cr-Commit-Position: refs/heads/master@{#358978}

Powered by Google App Engine
This is Rietveld 408576698