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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

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: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 621c412528691699e699b8f9765957598bcb6924..134dbcaf39d88cb42b8c90281a417955fa6de8d3 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -113,7 +113,6 @@
#include "url/gurl.h"
#if defined(OS_ANDROID)
-#include "content/browser/android/app_web_message_port_message_filter.h"
#include "content/public/browser/android/java_interfaces.h"
#include "content/browser/media/android/media_player_renderer.h"
#include "media/base/audio_renderer_sink.h"
@@ -617,18 +616,6 @@ RenderFrameHostImpl::GetRemoteAssociatedInterfaces() {
return remote_associated_interfaces_.get();
}
-#if defined(OS_ANDROID)
-scoped_refptr<AppWebMessagePortMessageFilter>
-RenderFrameHostImpl::GetAppWebMessagePortMessageFilter(int routing_id) {
- if (!app_web_message_port_message_filter_) {
- app_web_message_port_message_filter_ =
- new AppWebMessagePortMessageFilter(routing_id);
- GetProcess()->AddFilter(app_web_message_port_message_filter_.get());
- }
- return app_web_message_port_message_filter_;
-}
-#endif
-
blink::WebPageVisibilityState RenderFrameHostImpl::GetVisibilityState() {
// Works around the crashes seen in https://crbug.com/501863, where the
// active WebContents from a browser iterator may contain a render frame

Powered by Google App Engine
This is Rietveld 408576698