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

Unified Diff: components/navigation_interception/intercept_navigation_delegate.cc

Issue 11830043: Move content/components/navigation_interception to src/components (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 11 months 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: components/navigation_interception/intercept_navigation_delegate.cc
diff --git a/content/components/navigation_interception/intercept_navigation_delegate.cc b/components/navigation_interception/intercept_navigation_delegate.cc
similarity index 93%
rename from content/components/navigation_interception/intercept_navigation_delegate.cc
rename to components/navigation_interception/intercept_navigation_delegate.cc
index 17f7324b8631755fa4f28d149f0aa34f9f9ac5ab..a0cbc86639347cd3bd86f42d70ecdee9eb028fa9 100644
--- a/content/components/navigation_interception/intercept_navigation_delegate.cc
+++ b/components/navigation_interception/intercept_navigation_delegate.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/components/navigation_interception/intercept_navigation_delegate.h"
+#include "components/navigation_interception/intercept_navigation_delegate.h"
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/callback.h"
-#include "content/components/navigation_interception/intercept_navigation_resource_throttle.h"
+#include "components/navigation_interception/intercept_navigation_resource_throttle.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
@@ -18,10 +18,11 @@
using base::android::ConvertUTF8ToJavaString;
using base::android::ScopedJavaLocalRef;
using content::BrowserThread;
+using content::PageTransition;
using content::RenderViewHost;
using content::WebContents;
-namespace content {
+namespace components {
namespace {
@@ -112,4 +113,4 @@ bool RegisterInterceptNavigationDelegate(JNIEnv* env) {
return RegisterNativesImpl(env);
}
-} // namespace content
+} // namespace components

Powered by Google App Engine
This is Rietveld 408576698