| Index: chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.h
|
| diff --git a/chrome/browser/renderer_host/intercept_navigation_resource_throttle.h b/chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.h
|
| similarity index 80%
|
| rename from chrome/browser/renderer_host/intercept_navigation_resource_throttle.h
|
| rename to chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.h
|
| index 9425e9305a8907035941b84d3d48868e773bae6e..3573df4cc96564e046846d36c54586659162fea2 100644
|
| --- a/chrome/browser/renderer_host/intercept_navigation_resource_throttle.h
|
| +++ b/chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_RENDERER_HOST_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
|
| -#define CHROME_BROWSER_RENDERER_HOST_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
|
| +#ifndef CHROME_BROWSER_COMPONENT_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
|
| +#define CHROME_BROWSER_COMPONENT_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
|
|
|
| #include <string>
|
|
|
| @@ -22,6 +22,8 @@ namespace net {
|
| class URLRequest;
|
| }
|
|
|
| +namespace navigation_interception {
|
| +
|
| // This class allows the provider of the Callback to selectively ignore top
|
| // level navigations.
|
| class InterceptNavigationResourceThrottle : public content::ResourceThrottle {
|
| @@ -52,4 +54,6 @@ class InterceptNavigationResourceThrottle : public content::ResourceThrottle {
|
| DISALLOW_COPY_AND_ASSIGN(InterceptNavigationResourceThrottle);
|
| };
|
|
|
| -#endif // CHROME_BROWSER_RENDERER_HOST_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
|
| +} // namespace navigation_interception
|
| +
|
| +#endif // CHROME_BROWSER_COMPONENT_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
|
|
|