| Index: chrome/browser/android/chrome_intercept_navigation_resource_throttle.h
|
| diff --git a/chrome/browser/android/chrome_intercept_navigation_resource_throttle.h b/chrome/browser/android/chrome_intercept_navigation_resource_throttle.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1fa1157a809f804f1a8e0a514b7d3a0a4a28afc0
|
| --- /dev/null
|
| +++ b/chrome/browser/android/chrome_intercept_navigation_resource_throttle.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_ANDROID_CHROME_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
|
| +#define CHROME_BROWSER_ANDROID_CHROME_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
|
| +
|
| +#include "chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.h"
|
| +
|
| +namespace chrome {
|
| +namespace android {
|
| +
|
| +// Creates a ResourceThrottle that will call the
|
| +// ChromeWebContentsDelegateAndroid shouldIgnoreNavigation method for every top
|
| +// level navigation to determine if the navigation should be performed or
|
| +// ignored.
|
| +class ChromeInterceptNavigationResourceThrottle {
|
| + public:
|
| + static navigation_interception::InterceptNavigationResourceThrottle* Create(
|
| + net::URLRequest* request);
|
| +};
|
| +
|
| +} // namespace android
|
| +} // namespace chrome
|
| +
|
| +#endif // CHROME_BROWSER_ANDROID_CHROME_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
|
|
|