Index: content/browser/presentation/presentation_service_impl.h |
diff --git a/content/browser/presentation/presentation_service_impl.h b/content/browser/presentation/presentation_service_impl.h |
index 0a3fe6fbab3f5787ee3aa291ae20a9dc337d3e25..2e991fa4ded20867b2002798673e7609e18b58c1 100644 |
--- a/content/browser/presentation/presentation_service_impl.h |
+++ b/content/browser/presentation/presentation_service_impl.h |
@@ -26,7 +26,6 @@ |
#include "content/public/browser/presentation_service_delegate.h" |
#include "content/public/browser/web_contents_observer.h" |
#include "content/public/common/frame_navigate_params.h" |
-#include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" |
namespace content { |
@@ -49,6 +48,7 @@ |
// from the renderer when the first presentation API request is handled. |
class CONTENT_EXPORT PresentationServiceImpl |
: public NON_EXPORTED_BASE(presentation::PresentationService), |
+ public mojo::ErrorHandler, |
public WebContentsObserver, |
public PresentationServiceDelegate::Observer { |
public: |
@@ -198,6 +198,10 @@ |
// Creates a binding between this object and |request|. |
void Bind(mojo::InterfaceRequest<presentation::PresentationService> request); |
+ // mojo::ErrorHandler override. |
+ // Note that this is called when the RenderFrameHost is deleted. |
+ void OnConnectionError() override; |
+ |
// WebContentsObserver override. |
void DidNavigateAnyFrame( |
content::RenderFrameHost* render_frame_host, |