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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/tab/TabDelegateFactory.java

Issue 2706933003: webapk: Avoid overwriting default CreationParams
Patch Set: cleanups Created 3 years, 10 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/src/org/chromium/chrome/browser/tab/TabDelegateFactory.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabDelegateFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/TabDelegateFactory.java
index 5b808aecdb416101c9b53bb95ece07d8cb4d755f..6389510bcb6f1bc224ccfc02de9e733620b8b86b 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabDelegateFactory.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/TabDelegateFactory.java
@@ -8,6 +8,7 @@ import org.chromium.chrome.browser.contextmenu.ChromeContextMenuPopulator;
import org.chromium.chrome.browser.contextmenu.ContextMenuPopulator;
import org.chromium.components.navigation_interception.InterceptNavigationDelegate;
import org.chromium.components.web_contents_delegate_android.WebContentsDelegateAndroid;
+import org.chromium.content.browser.ChildProcessCreationParams;
/**
* A factory class to create {@link Tab} related delegates.
@@ -50,6 +51,10 @@ public class TabDelegateFactory {
return true;
}
+ public int getChildProcessParamId() {
+ return ChildProcessCreationParams.DEFAULT_ID;
+ }
+
/**
* Creates the {@link BrowserControlsVisibilityDelegate} the tab will be initialized with.
* @param tab The associated {@link Tab}.

Powered by Google App Engine
This is Rietveld 408576698