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

Unified Diff: content/components/navigation_interception/intercept_navigation_delegate.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_delegate.h
diff --git a/chrome/browser/component/navigation_interception/intercept_navigation_delegate.h b/content/components/navigation_interception/intercept_navigation_delegate.h
similarity index 85%
copy from chrome/browser/component/navigation_interception/intercept_navigation_delegate.h
copy to content/components/navigation_interception/intercept_navigation_delegate.h
index cc1f0d3ebe89d8d8770e16561a78174ac71ceb4e..94f65825cc1b33556badced6d248a76c18dbe133 100644
--- a/chrome/browser/component/navigation_interception/intercept_navigation_delegate.h
+++ b/content/components/navigation_interception/intercept_navigation_delegate.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_DELEGATE_H_
-#define CHROME_BROWSER_COMPONENT_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_
+#ifndef CONTENT_COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_
+#define CONTENT_COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_
#include "base/android/jni_helper.h"
#include "base/memory/scoped_ptr.h"
@@ -20,7 +20,7 @@ namespace net {
class URLRequest;
}
-namespace navigation_interception {
+namespace content {
// Native side of the InterceptNavigationDelegate Java interface.
// This is used to create a InterceptNavigationResourceThrottle that calls the
@@ -61,6 +61,6 @@ class InterceptNavigationDelegate : public base::SupportsUserData::Data {
bool RegisterInterceptNavigationDelegate(JNIEnv* env);
-} // namespace navigation_interception
+} // namespace content
-#endif // CHROME_BROWSER_COMPONENT_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_
+#endif // CONTENT_COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698