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

Side by Side Diff: chrome/browser/android/chrome_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 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_ANDROID_CHROME_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
6 #define CHROME_BROWSER_ANDROID_CHROME_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
7
8 #include "chrome/browser/component/navigation_interception/intercept_navigation_ resource_throttle.h"
9
10 namespace chrome {
11 namespace android {
12
13 // Creates a ResourceThrottle that will call the
14 // ChromeWebContentsDelegateAndroid shouldIgnoreNavigation method for every top
15 // level navigation to determine if the navigation should be performed or
16 // ignored.
17 class ChromeInterceptNavigationResourceThrottle {
18 public:
19 static navigation_interception::InterceptNavigationResourceThrottle* Create(
20 net::URLRequest* request);
21 };
22
23 } // namespace android
24 } // namespace chrome
25
26 #endif // CHROME_BROWSER_ANDROID_CHROME_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698