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

Side by Side Diff: android_webview/browser/aw_intercept_navigation_resource_throttle.h

Issue 10946008: Componentize IgnoreNavigationResourceThrottle and add chrome and webview specific implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #ifndef ANDROID_WEBVIEW_BROWSER_AW_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
benm (inactive) 2012/09/19 11:04:04 copyright missing?
mkosiba (inactive) 2012/09/25 18:01:47 Done.
2 #define ANDROID_WEBVIEW_BROWSER_AW_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
3
4 #include "chrome/browser/component/navigation_interception/intercept_navigation_ resource_throttle.h"
5
6 namespace android_webview {
7
8 // Creates a ResourceThrottle that will call the AwWebContentsDelegate
9 // shouldIgnoreNavigation method for every top level navigation to determine if
10 // the navigation should be performed or ignored.
11 class AwInterceptNavigationResourceThrottle {
12 public:
13 static navigation_interception::InterceptNavigationResourceThrottle*
14 Create(net::URLRequest* request);
15 };
16
17 } // namespace android_webview
18
19 #endif // ANDROID_WEBVIEW_BROWSER_AW_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698