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

Issue 12321131: Renamed Sandboxed process to Child process (Closed)

Created:
7 years, 10 months ago by kjyoun
Modified:
7 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Since some child processes, such as PPAPI_BROKER plugin, might not run in sandbox, Sandboxed process is renamed to Child process BUG=178382 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188907

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : Rebaesed and removed stub SandboxedProcessService #

Total comments: 37

Patch Set 4 : rebased and renamed sandbox to child on comment #

Patch Set 5 : rebased and updated findbugs_known_bugs.txt #

Patch Set 6 : updated findbugs_known_bugs.txt #

Total comments: 2

Patch Set 7 : rebased #

Total comments: 1

Patch Set 8 : rebased and resolved known bugs. #

Patch Set 9 : renamed lock to mUiThreadLock #

Patch Set 10 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -1674 lines) Patch
M android_webview/Android.mk View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M build/android/findbugs_filter/findbugs_known_bugs.txt View 1 2 3 4 5 6 7 8 9 3 chunks +0 lines, -7 lines 0 comments Download
M content/app/android/app_jni_registrar.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + content/app/android/child_process_service.h View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
A + content/app/android/child_process_service.cc View 1 2 3 8 chunks +22 lines, -22 lines 0 comments Download
D content/app/android/sandboxed_process_service.h View 1 chunk +0 lines, -14 lines 0 comments Download
D content/app/android/sandboxed_process_service.cc View 1 2 3 1 chunk +0 lines, -151 lines 0 comments Download
M content/browser/android/browser_jni_registrar.cc View 1 2 3 4 chunks +2 lines, -2 lines 0 comments Download
A content/browser/android/child_process_launcher.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A + content/browser/android/child_process_launcher.cc View 1 2 3 5 chunks +20 lines, -20 lines 0 comments Download
D content/browser/android/sandboxed_process_launcher.h View 1 chunk +0 lines, -39 lines 0 comments Download
D content/browser/android/sandboxed_process_launcher.cc View 1 2 3 1 chunk +0 lines, -158 lines 0 comments Download
M content/browser/android/surface_texture_peer_browser_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/child_process_launcher.cc View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M content/content.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M content/content_app.gypi View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M content/content_jni.gypi View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
A + content/public/android/java/src/org/chromium/content/app/ChildProcessService.java View 1 2 3 4 5 6 7 6 chunks +67 lines, -66 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/app/ContentMain.java View 1 chunk +1 line, -1 line 0 comments Download
D content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java View 1 2 3 1 chunk +0 lines, -283 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/app/SandboxedProcessService0.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/app/SandboxedProcessService1.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/app/SandboxedProcessService2.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/app/SandboxedProcessService3.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/app/SandboxedProcessService4.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/app/SandboxedProcessService5.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A + content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java View 1 2 3 4 5 6 7 8 9 chunks +108 lines, -91 lines 0 comments Download
A + content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java View 1 2 3 4 5 6 7 13 chunks +57 lines, -55 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/SandboxedProcessConnection.java View 1 2 3 4 5 6 1 chunk +0 lines, -356 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/SandboxedProcessLauncher.java View 1 2 3 4 5 6 1 chunk +0 lines, -333 lines 0 comments Download
A + content/public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/common/ISandboxedProcessCallback.aidl View 1 2 3 1 chunk +0 lines, -16 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/common/ISandboxedProcessService.aidl View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/common/common.aidl View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 50 (0 generated)
kjyoun
Can you review this change?
7 years, 9 months ago (2013-03-06 00:18:00 UTC) #1
palmer
https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java File content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java (right): https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java#newcode10 content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java:10: public class SandboxedProcessService extends ChildProcessService { Is this class ...
7 years, 9 months ago (2013-03-06 00:36:26 UTC) #2
kjyoun
https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java File content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java (right): https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java#newcode10 content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java:10: public class SandboxedProcessService extends ChildProcessService { On 2013/03/06 00:36:26, ...
7 years, 9 months ago (2013-03-06 07:34:08 UTC) #3
joth
https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java File content/public/android/java/src/org/chromium/content/app/ChildProcessService.java (right): https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java#newcode36 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java:36: * <service android:name="org.chromium.content.app.SandboxedProcessServiceX" Why aren't SandboxedProcessService0 ... SandboxedProcessService5 classes ...
7 years, 9 months ago (2013-03-06 17:48:03 UTC) #4
palmer
> Why aren't SandboxedProcessService0 ... SandboxedProcessService5 classes also > renamed? Those are declared in the ...
7 years, 9 months ago (2013-03-06 18:52:06 UTC) #5
joth
On 6 March 2013 10:52, <palmer@chromium.org> wrote: > Why aren't SandboxedProcessService0 ... SandboxedProcessService5 classes >> ...
7 years, 9 months ago (2013-03-06 19:23:56 UTC) #6
kjyoun
As title mentioned, this CL is to rename some of SandboxedProcess to ChildProcess, depending on ...
7 years, 9 months ago (2013-03-07 09:27:39 UTC) #7
kjyoun
https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java File content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java (right): https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java#newcode10 content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java:10: public class SandboxedProcessService extends ChildProcessService { Agree, and will ...
7 years, 9 months ago (2013-03-07 09:52:08 UTC) #8
kjyoun
https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java File content/public/android/java/src/org/chromium/content/app/ChildProcessService.java (right): https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java#newcode36 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java:36: * <service android:name="org.chromium.content.app.SandboxedProcessServiceX" SandboxedProcessService0..5 is not renamed, since they ...
7 years, 9 months ago (2013-03-07 11:40:00 UTC) #9
joth
lgtm https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java File content/public/android/java/src/org/chromium/content/app/ChildProcessService.java (right): https://codereview.chromium.org/12321131/diff/1034/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java#newcode36 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java:36: * <service android:name="org.chromium.content.app.SandboxedProcessServiceX" On 2013/03/07 11:40:00, kjyoun wrote: ...
7 years, 9 months ago (2013-03-07 19:58:54 UTC) #10
Yaron
lgtm I pointed out several places where comments need updating but this seems functionally correct ...
7 years, 9 months ago (2013-03-08 03:10:30 UTC) #11
kjyoun
https://codereview.chromium.org/12321131/diff/13001/content/app/android/child_process_service.cc File content/app/android/child_process_service.cc (right): https://codereview.chromium.org/12321131/diff/13001/content/app/android/child_process_service.cc#newcode81 content/app/android/child_process_service.cc:81: void QuitSandboxMainThreadMessageLoop() { On 2013/03/08 03:10:31, Yaron wrote: > ...
7 years, 9 months ago (2013-03-11 14:17:43 UTC) #12
Yaron
lgtm Note that there are probably findbugs changes that you need. I think you can ...
7 years, 9 months ago (2013-03-11 20:09:19 UTC) #13
Yaron
On 2013/03/11 20:09:19, Yaron wrote: > lgtm > > Note that there are probably findbugs ...
7 years, 9 months ago (2013-03-11 23:54:31 UTC) #14
kjyoun
Running bu Running below script again to ensure that all targets are build properly. . ...
7 years, 9 months ago (2013-03-12 00:20:49 UTC) #15
Yaron
I think the problem is that findbugs probably looks in your debug folder by default. ...
7 years, 9 months ago (2013-03-12 00:32:02 UTC) #16
kjyoun
On 2013/03/12 00:32:02, Yaron wrote: > I think the problem is that findbugs probably looks ...
7 years, 9 months ago (2013-03-12 01:23:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kjyoun@google.com/12321131/41002
7 years, 9 months ago (2013-03-12 01:24:18 UTC) #18
commit-bot: I haz the power
Presubmit check for 12321131-41002 failed and returned exit status 1. INFO:root:Found 31 file(s). INFO:PRESUBMIT:Skipping pylint: ...
7 years, 9 months ago (2013-03-12 01:24:39 UTC) #19
kjyoun
Avi/Brett/Scott Can you review this CL?
7 years, 9 months ago (2013-03-12 01:30:27 UTC) #20
kjyoun
Gentle reminder.
7 years, 9 months ago (2013-03-13 05:07:45 UTC) #21
Avi (use Gerrit)
stampity stamp lgtm
7 years, 9 months ago (2013-03-13 14:25:16 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kjyoun@google.com/12321131/41002
7 years, 9 months ago (2013-03-13 20:53:11 UTC) #23
commit-bot: I haz the power
Presubmit check for 12321131-41002 failed and returned exit status 1. INFO:root:Found 31 file(s). INFO:PRESUBMIT:Skipping pylint: ...
7 years, 9 months ago (2013-03-13 20:53:40 UTC) #24
kjyoun
Can you let me know how to handle this error? findbugs_known_bugs.txt allows only deletion, my ...
7 years, 9 months ago (2013-03-13 21:00:46 UTC) #25
Yaron
https://chromiumcodereview.appspot.com/12321131/diff/41002/build/android/findbugs_filter/findbugs_known_bugs.txt File build/android/findbugs_filter/findbugs_known_bugs.txt (right): https://chromiumcodereview.appspot.com/12321131/diff/41002/build/android/findbugs_filter/findbugs_known_bugs.txt#newcode69 build/android/findbugs_filter/findbugs_known_bugs.txt:69: M D REC: Exception is caught when Exception is ...
7 years, 9 months ago (2013-03-13 21:00:48 UTC) #26
joth
On 13 March 2013 13:59, KJ Youn <kjyoun@google.com> wrote: > Can you let me know ...
7 years, 9 months ago (2013-03-13 21:04:54 UTC) #27
kjyoun
Can you let me know how to handle this error? findbugs_known_bugs.txt allows only deletion, my ...
7 years, 9 months ago (2013-03-13 21:06:17 UTC) #28
kjyoun
https://chromiumcodereview.appspot.com/12321131/diff/41002/build/android/findbugs_filter/findbugs_known_bugs.txt File build/android/findbugs_filter/findbugs_known_bugs.txt (right): https://chromiumcodereview.appspot.com/12321131/diff/41002/build/android/findbugs_filter/findbugs_known_bugs.txt#newcode69 build/android/findbugs_filter/findbugs_known_bugs.txt:69: M D REC: Exception is caught when Exception is ...
7 years, 9 months ago (2013-03-14 01:53:52 UTC) #29
kjyoun
On 2013/03/14 01:53:52, kjyoun wrote: > https://chromiumcodereview.appspot.com/12321131/diff/41002/build/android/findbugs_filter/findbugs_known_bugs.txt > File build/android/findbugs_filter/findbugs_known_bugs.txt (right): > > https://chromiumcodereview.appspot.com/12321131/diff/41002/build/android/findbugs_filter/findbugs_known_bugs.txt#newcode69 > ...
7 years, 9 months ago (2013-03-14 02:17:34 UTC) #30
kjyoun
This issue looks very tricky. In addition to that find_known_bugs.txt does not allow update from ...
7 years, 9 months ago (2013-03-14 06:59:29 UTC) #31
Yaron
On 2013/03/14 06:59:29, kjyoun wrote: > This issue looks very tricky. > In addition to ...
7 years, 9 months ago (2013-03-14 19:58:56 UTC) #32
kjyoun
Thanks! Let me try again with updated presubmit hook. On Fri, Mar 15, 2013 at ...
7 years, 9 months ago (2013-03-14 23:21:17 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kjyoun@google.com/12321131/41002
7 years, 9 months ago (2013-03-15 01:08:18 UTC) #34
commit-bot: I haz the power
Presubmit check for 12321131-41002 failed and returned exit status 1. INFO:root:Found 31 file(s). INFO:PRESUBMIT:Skipping pylint: ...
7 years, 9 months ago (2013-03-15 01:08:32 UTC) #35
kjyoun
I still met the same error. Is this because Yaron's change not applied to buildbot ...
7 years, 9 months ago (2013-03-15 02:00:13 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kjyoun@google.com/12321131/41002
7 years, 9 months ago (2013-03-15 04:25:49 UTC) #37
commit-bot: I haz the power
Presubmit check for 12321131-41002 failed and returned exit status 1. INFO:root:Found 31 file(s). INFO:PRESUBMIT:Skipping pylint: ...
7 years, 9 months ago (2013-03-15 04:26:10 UTC) #38
kjyoun
Still no success Message was changed from errors to warnings But, buildbot still failed
7 years, 9 months ago (2013-03-15 07:06:28 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kjyoun@google.com/12321131/69001
7 years, 9 months ago (2013-03-15 14:29:53 UTC) #40
commit-bot: I haz the power
Presubmit check for 12321131-69001 failed and returned exit status 1. INFO:root:Found 31 file(s). INFO:PRESUBMIT:Skipping pylint: ...
7 years, 9 months ago (2013-03-15 14:30:13 UTC) #41
Yaron
Looks like my warnings change is insufficient. You can either land with dcommit or we ...
7 years, 9 months ago (2013-03-15 16:40:37 UTC) #42
kjyoun
Fixed known bugs in ChildProcessService.java, ChildProcessConnection.java and ChildProcessLauncher.java Ready to submit. On 2013/03/15 16:40:37, Yaron ...
7 years, 9 months ago (2013-03-18 08:35:30 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kjyoun@google.com/12321131/62003
7 years, 9 months ago (2013-03-18 20:34:12 UTC) #44
commit-bot: I haz the power
Failed to apply patch for build/android/findbugs_filter/findbugs_known_bugs.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-18 20:34:29 UTC) #45
kjyoun
Umm... It is still failing, though I fixed known bugs that I found related with ...
7 years, 9 months ago (2013-03-18 20:42:53 UTC) #46
yfriedman
I think you just need to rebase that. I removed a bunch of lines from ...
7 years, 9 months ago (2013-03-18 20:48:11 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kjyoun@google.com/12321131/86043
7 years, 9 months ago (2013-03-18 20:55:31 UTC) #48
kjyoun
Eventually buildbot is launched to try, passing presubmit check. Thanks Yaron. When this change is ...
7 years, 9 months ago (2013-03-18 20:59:07 UTC) #49
commit-bot: I haz the power
7 years, 9 months ago (2013-03-19 01:43:38 UTC) #50
Message was sent while issue was closed.
Change committed as 188907

Powered by Google App Engine
This is Rietveld 408576698