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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Eliminate unnecessary PostTask 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: android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java b/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
index 83d16b1c3a046f8a451aaab09009127635b05aba..26f5f73a7ee4c54b4f68ce505baf75ecddbe3956 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
@@ -9,7 +9,6 @@ import android.content.SharedPreferences;
import org.chromium.components.safe_browsing.SafeBrowsingApiBridge;
import org.chromium.components.safe_browsing.SafeBrowsingApiHandler;
-import org.chromium.content.browser.AppWebMessagePortService;
import org.chromium.content.browser.ContentViewStatics;
/**
@@ -26,7 +25,6 @@ public class AwBrowserContext {
private AwGeolocationPermissions mGeolocationPermissions;
private AwFormDatabase mFormDatabase;
- private AppWebMessagePortService mMessagePortService;
private AwServiceWorkerController mServiceWorkerController;
private Context mApplicationContext;
@@ -53,13 +51,6 @@ public class AwBrowserContext {
return mFormDatabase;
}
- public AppWebMessagePortService getMessagePortService() {
- if (mMessagePortService == null) {
- mMessagePortService = new AppWebMessagePortService();
- }
- return mMessagePortService;
- }
-
public AwServiceWorkerController getServiceWorkerController() {
if (mServiceWorkerController == null) {
mServiceWorkerController = new AwServiceWorkerController(mApplicationContext, this);

Powered by Google App Engine
This is Rietveld 408576698