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

Unified Diff: chrome/android/java/templates/MonochromeApplication.template

Issue 2795913003: [Merge m58] android: Limit bindToCaller check to webview (Closed)
Patch Set: remove final from chrome Created 3 years, 8 months 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
Index: chrome/android/java/templates/MonochromeApplication.template
diff --git a/chrome/android/java/templates/MonochromeApplication.template b/chrome/android/java/templates/MonochromeApplication.template
index 42eb80611ac7a223dc83906d12e1a146bc2416a6..1dc5ec1d3ebd18560138218369d246d5357de7f2 100644
--- a/chrome/android/java/templates/MonochromeApplication.template
+++ b/chrome/android/java/templates/MonochromeApplication.template
@@ -26,9 +26,11 @@ public class {{ monochrome_application_class }} extends {{ super_class }} {
LibraryLoader.setNativeLibraryPreloader(new MonochromeLibraryPreloader());
// ChildProcessCreationParams is only needed for browser process, though it is
// created and set in all processes.
+ boolean bindToCaller = false;
ChildProcessCreationParams.registerDefault(
new ChildProcessCreationParams(getPackageName(),
true /* isExternalService */,
- LibraryProcessType.PROCESS_CHILD));
+ LibraryProcessType.PROCESS_CHILD,
+ bindToCaller));
}
}

Powered by Google App Engine
This is Rietveld 408576698