Index: components/dom_distiller/content/distiller_page_web_contents.h |
diff --git a/components/dom_distiller/content/distiller_page_web_contents.h b/components/dom_distiller/content/distiller_page_web_contents.h |
index aed9789cf55249188c0d0460aa68e7804e04774e..d7388544f5d144c0afbd131b9f1b357c8f22b857 100644 |
--- a/components/dom_distiller/content/distiller_page_web_contents.h |
+++ b/components/dom_distiller/content/distiller_page_web_contents.h |
@@ -13,12 +13,6 @@ |
#include "content/public/browser/web_contents_observer.h" |
#include "url/gurl.h" |
-namespace content { |
-class RenderViewHost; |
-} |
- |
-using content::RenderViewHost; |
- |
namespace dom_distiller { |
class SourcePageHandleWebContents : public SourcePageHandle { |
@@ -58,15 +52,13 @@ class DistillerPageWebContents : public DistillerPage, |
virtual ~DistillerPageWebContents(); |
// content::WebContentsObserver implementation. |
- virtual void DocumentLoadedInFrame(int64 frame_id, |
- RenderViewHost* render_view_host) OVERRIDE; |
+ virtual void DocumentLoadedInFrame( |
+ content::RenderFrameHost* render_frame_host) OVERRIDE; |
- virtual void DidFailLoad(int64 frame_id, |
+ virtual void DidFailLoad(content::RenderFrameHost* render_frame_host, |
const GURL& validated_url, |
- bool is_main_frame, |
int error_code, |
- const base::string16& error_description, |
- RenderViewHost* render_view_host) OVERRIDE; |
+ const base::string16& error_description) OVERRIDE; |
protected: |
virtual void DistillPageImpl(const GURL& url, |