diff options
author | jaekyun <jaekyun@chromium.org> | 2014-08-29 17:27:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-30 00:32:14 +0000 |
commit | d7929e7eb431ae8c94e99d958b480934022f7a23 (patch) | |
tree | 73f1edc2a83f3691aec4246110bc0fd8f798e0aa /base | |
parent | 95c7a1639892cb63e4fa60127c645d5c1d9cc011 (diff) | |
download | chromium_src-d7929e7eb431ae8c94e99d958b480934022f7a23.zip chromium_src-d7929e7eb431ae8c94e99d958b480934022f7a23.tar.gz chromium_src-d7929e7eb431ae8c94e99d958b480934022f7a23.tar.bz2 |
Add a flag to let render process wait for java debugger
A switch RENDERER_WAIT_FOR_JAVA_DEBUGGER is newly added to block
ChildProcessMain thread of ChildProcessService until a Java debugger is
attached.
BUG=378975
Review URL: https://codereview.chromium.org/511683003
Cr-Commit-Position: refs/heads/master@{#292733}
Diffstat (limited to 'base')
-rw-r--r-- | base/android/java/src/org/chromium/base/BaseSwitches.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/android/java/src/org/chromium/base/BaseSwitches.java b/base/android/java/src/org/chromium/base/BaseSwitches.java index 53e2d7b..fe13d7b 100644 --- a/base/android/java/src/org/chromium/base/BaseSwitches.java +++ b/base/android/java/src/org/chromium/base/BaseSwitches.java @@ -12,6 +12,9 @@ public abstract class BaseSwitches { // Block onCreate() of Chrome until a Java debugger is attached. public static final String WAIT_FOR_JAVA_DEBUGGER = "wait-for-java-debugger"; + // Block ChildProcessMain thread of render process service until a Java debugger is attached. + public static final String RENDERER_WAIT_FOR_JAVA_DEBUGGER = "renderer-wait-for-java-debugger"; + // Force low-end device when set to 1; // Force non-low-end device when set to 0; // Auto-detect low-end device when set to other values or empty; |