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

Unified Diff: android_webview/glue/java/src/com/android/webview/chromium/WebViewDelegateFactory.java

Issue 2645413002: Prepare to get the multiprocess setting from WebViewDelegate. (Closed)
Patch Set: Move version condition logic back to FactoryProvider Created 3 years, 11 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
« no previous file with comments | « android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/glue/java/src/com/android/webview/chromium/WebViewDelegateFactory.java
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebViewDelegateFactory.java b/android_webview/glue/java/src/com/android/webview/chromium/WebViewDelegateFactory.java
index c2b42958ed57e707d572f8b6e0bcb95b8d528c1e..23ecf26a73dd0d7a5c5a77931878bff5e4b64e90 100644
--- a/android_webview/glue/java/src/com/android/webview/chromium/WebViewDelegateFactory.java
+++ b/android_webview/glue/java/src/com/android/webview/chromium/WebViewDelegateFactory.java
@@ -82,6 +82,9 @@ class WebViewDelegateFactory {
/** @see android.webkit.WebViewDelegate#addWebViewAssetPath */
void addWebViewAssetPath(Context context);
+
+ /** @see android.webkit.WebViewDelegate#isMultiProcessEnabled */
+ boolean isMultiProcessEnabled();
}
/**
@@ -110,7 +113,7 @@ class WebViewDelegateFactory {
* A {@link WebViewDelegate com.android.webview.chromium.WebViewDelegate} that proxies requests
* to a {@link android.webkit.WebViewDelegate android.webkit.WebViewDelegate}.
*/
- private static class ProxyDelegate implements WebViewDelegate {
+ static class ProxyDelegate implements WebViewDelegate {
android.webkit.WebViewDelegate mDelegate;
ProxyDelegate(android.webkit.WebViewDelegate delegate) {
@@ -198,6 +201,11 @@ class WebViewDelegateFactory {
}
});
}
+
+ @Override
+ public boolean isMultiProcessEnabled() {
+ throw new UnsupportedOperationException();
+ }
}
/**
@@ -383,5 +391,10 @@ class WebViewDelegateFactory {
throw new RuntimeException("Invalid reflection", e);
}
}
+
+ @Override
+ public boolean isMultiProcessEnabled() {
+ throw new UnsupportedOperationException();
+ }
}
}
« no previous file with comments | « android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698