| OLD | NEW |
| (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_ |
| OLD | NEW |