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

Issue 10541110: Added sandboxed process launcher (Closed)

Created:
8 years, 6 months ago by michaelbai
Modified:
8 years, 6 months ago
Reviewers:
John Grabowski, Yaron, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Visibility:
Public.

Description

Added sandboxed process launcher BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141764

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address comments and using callback. #

Total comments: 1

Patch Set 3 : Removed ProcessID and Sync #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+425 lines, -20 lines) Patch
M content/app/android/content_jni_registrar.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
A content/browser/android/sandboxed_process_launcher.h View 1 2 1 chunk +46 lines, -0 lines 2 comments Download
A content/browser/android/sandboxed_process_launcher.cc View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_jni.gypi View 2 chunks +4 lines, -2 lines 0 comments Download
M content/public/android/java/org/chromium/content/browser/SandboxedProcessConnection.java View 4 chunks +2 lines, -18 lines 0 comments Download
A content/public/android/java/org/chromium/content/browser/SandboxedProcessLauncher.java View 1 chunk +305 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
michaelbai
8 years, 6 months ago (2012-06-12 06:27:32 UTC) #1
jam
http://codereview.chromium.org/10541110/diff/1/content/app/android/content_jni_registrar.cc File content/app/android/content_jni_registrar.cc (right): http://codereview.chromium.org/10541110/diff/1/content/app/android/content_jni_registrar.cc#newcode17 content/app/android/content_jni_registrar.cc:17: #include "content/common/android/surface_callback.h" nit: order http://codereview.chromium.org/10541110/diff/1/content/browser/android/sandboxed_process_launcher.cc File content/browser/android/sandboxed_process_launcher.cc (right): http://codereview.chromium.org/10541110/diff/1/content/browser/android/sandboxed_process_launcher.cc#newcode20 ...
8 years, 6 months ago (2012-06-12 17:24:11 UTC) #2
Yaron
lgtm aside from jam's comments. Please be sure to re-downstream once you land this http://codereview.chromium.org/10541110/diff/1/content/public/android/java/org/chromium/content/browser/SandboxedProcessConnection.java ...
8 years, 6 months ago (2012-06-12 17:39:35 UTC) #3
michaelbai
PTAL http://codereview.chromium.org/10541110/diff/1/content/app/android/content_jni_registrar.cc File content/app/android/content_jni_registrar.cc (right): http://codereview.chromium.org/10541110/diff/1/content/app/android/content_jni_registrar.cc#newcode17 content/app/android/content_jni_registrar.cc:17: #include "content/common/android/surface_callback.h" On 2012/06/12 17:24:11, John Abd-El-Malek wrote: ...
8 years, 6 months ago (2012-06-12 19:44:26 UTC) #4
jam
lgtm with the one change below http://codereview.chromium.org/10541110/diff/3002/content/browser/android/sandboxed_process_launcher.h File content/browser/android/sandboxed_process_launcher.h (right): http://codereview.chromium.org/10541110/diff/3002/content/browser/android/sandboxed_process_launcher.h#newcode17 content/browser/android/sandboxed_process_launcher.h:17: typedef base::ProcessHandle ProcessID; ...
8 years, 6 months ago (2012-06-12 20:44:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/10541110/10
8 years, 6 months ago (2012-06-12 20:58:38 UTC) #6
commit-bot: I haz the power
Change committed as 141764
8 years, 6 months ago (2012-06-12 22:49:41 UTC) #7
jam
http://codereview.chromium.org/10541110/diff/10/content/browser/android/sandboxed_process_launcher.h File content/browser/android/sandboxed_process_launcher.h (right): http://codereview.chromium.org/10541110/diff/10/content/browser/android/sandboxed_process_launcher.h#newcode17 content/browser/android/sandboxed_process_launcher.h:17: typedef base::Callback<void(base::ProcessHandle)> StartSandboxedProcessCallback; why are you using ProcessHandle? I've ...
8 years, 6 months ago (2012-06-13 16:18:12 UTC) #8
michaelbai
8 years, 6 months ago (2012-06-13 16:23:30 UTC) #9
http://codereview.chromium.org/10541110/diff/10/content/browser/android/sandb...
File content/browser/android/sandboxed_process_launcher.h (right):

http://codereview.chromium.org/10541110/diff/10/content/browser/android/sandb...
content/browser/android/sandboxed_process_launcher.h:17: typedef
base::Callback<void(base::ProcessHandle)> StartSandboxedProcessCallback;
I misunderstood your comment, and will have a another CL to fix this.

Thanks for look it again.


On 2012/06/13 16:18:12, John Abd-El-Malek wrote:
> why are you using ProcessHandle? I've been trying to get you to use
> base::ProcessId?

Powered by Google App Engine
This is Rietveld 408576698