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

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: incorporated feedback 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 5242ef92db0626124eb7cea778404662db492f2f..2adc6e75b0dc75f5861a2a8723066e29b436b1c9 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
int64 source_frame_id,
const content::GlobalRequestID& transferred_global_request_id) OVERRIDE;
virtual void RouteCloseEvent(content::RenderViewHost* rvh) 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