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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 10310124: Implement a ResourceThrottle for URL overriding in Chrome on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix layering problem with unittest Created 8 years, 7 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index f2213c19dae95a2d43d97454acc817119d3f66a7..40624a61950bdb20a82bbe04169af64d2d5cd312 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -311,6 +311,11 @@ class CONTENT_EXPORT WebContentsImpl
virtual void RouteMessageEvent(
content::RenderViewHost* rvh,
const ViewMsg_PostMessage_Params& params) OVERRIDE;
+ virtual bool ShouldIgnoreNavigation(
+ content::RenderViewHost* rvh,
+ const GURL& url,
+ const content::Referrer& referrer,
+ bool is_content_initiated) OVERRIDE;
virtual void RunJavaScriptMessage(content::RenderViewHost* rvh,
const string16& message,
const string16& default_prompt,

Powered by Google App Engine
This is Rietveld 408576698