Index: content/browser/frame_host/navigator.h |
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h |
index 595329d417dbe18c0b3791c5252055352cccf65b..70c2accf593fedf04bc008b9986f18d38c0b7ca1 100644 |
--- a/content/browser/frame_host/navigator.h |
+++ b/content/browser/frame_host/navigator.h |
@@ -37,7 +37,6 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> { |
// Returns the NavigationController associated with this Navigator. |
virtual NavigationController* GetController(); |
- |
// Notifications coming from the RenderFrameHosts ---------------------------- |
// The RenderFrameHostImpl started a provisional load. |
@@ -118,6 +117,12 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> { |
bool should_replace_current_entry, |
bool user_gesture) {} |
+ // Will crash the browser if |render_frame_host| is a Web-UI renderer that |
+ // tries to display a non Web UI |url|. |
+ virtual void CheckWebUIRendererDoesNotDisplayNormalURL( |
+ RenderFrameHostImpl* render_frame_host, |
+ const GURL& url) {} |
+ |
protected: |
friend class base::RefCounted<Navigator>; |
virtual ~Navigator() {} |