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

Unified Diff: content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java

Issue 2560403002: android: Remove command line args from intent bundle (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java
diff --git a/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java b/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java
index a3748f887a180d33217a4ef3340bec312b5e4edd..5316ab13d5938e4f87eba08f74217d12ba16c64d 100644
--- a/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java
+++ b/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java
@@ -284,8 +284,6 @@ public class ChildProcessServiceImpl {
void initializeParams(Intent intent) {
synchronized (mMainThread) {
- mCommandLineParams =
- intent.getStringArrayExtra(ChildProcessConstants.EXTRA_COMMAND_LINE);
// mLinkerParams is never used if Linker.isUsed() returns false.
// See onCreate().
mLinkerParams = new ChromiumLinkerParams(intent);
Jay Civelli 2016/12/12 17:40:28 In the future, should we still depend on anything
boliu 2016/12/12 17:54:02 I dunno.. it's still ok to pass things that's fixe
Jay Civelli 2016/12/12 19:11:22 Yes, but then the linker has to wait for the comma
boliu 2016/12/12 19:16:02 Surely we can refactor the linker to not require c
@@ -304,6 +302,7 @@ public class ChildProcessServiceImpl {
if (mCommandLineParams == null) {
mCommandLineParams =
bundle.getStringArray(ChildProcessConstants.EXTRA_COMMAND_LINE);
+ mMainThread.notifyAll();
}
// We must have received the command line by now
assert mCommandLineParams != null;
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698