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

Unified Diff: content/components/navigation_interception/intercept_navigation_resource_throttle.h

Issue 11293017: Move navigation interception component to content/components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add findbugs suppression for compatibility code. Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/components/navigation_interception/intercept_navigation_resource_throttle.h
diff --git a/chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.h b/content/components/navigation_interception/intercept_navigation_resource_throttle.h
similarity index 80%
rename from chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.h
rename to content/components/navigation_interception/intercept_navigation_resource_throttle.h
index b8076633c1f9f3d8f580ae90ecd6dac5a3323927..742f696ec8e15a81275c204282f2323596a2243a 100644
--- a/chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.h
+++ b/content/components/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_COMPONENT_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
-#define CHROME_BROWSER_COMPONENT_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
+#ifndef CONTENT_COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
+#define CONTENT_COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
#include <string>
@@ -22,7 +22,7 @@ namespace net {
class URLRequest;
}
-namespace navigation_interception {
+namespace content {
// This class allows the provider of the Callback to selectively ignore top
// level navigations.
@@ -54,6 +54,6 @@ class InterceptNavigationResourceThrottle : public content::ResourceThrottle {
DISALLOW_COPY_AND_ASSIGN(InterceptNavigationResourceThrottle);
};
-} // namespace navigation_interception
+} // namespace content
-#endif // CHROME_BROWSER_COMPONENT_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
+#endif // CONTENT_COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_

Powered by Google App Engine
This is Rietveld 408576698