| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ | 5 #ifndef COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ |
| 6 #define COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ | 6 #define COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/android/jni_weak_ref.h" | 8 #include "base/android/jni_weak_ref.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/supports_user_data.h" | 10 #include "base/supports_user_data.h" |
| 11 #include "content/public/common/page_transition_types.h" | |
| 12 | 11 |
| 13 class GURL; | 12 class GURL; |
| 14 | 13 |
| 15 namespace content { | 14 namespace content { |
| 16 class ResourceThrottle; | 15 class ResourceThrottle; |
| 17 class WebContents; | 16 class WebContents; |
| 18 } | 17 } |
| 19 | 18 |
| 20 namespace net { | 19 namespace net { |
| 21 class URLRequest; | 20 class URLRequest; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const NavigationParams& navigation_params); | 59 const NavigationParams& navigation_params); |
| 61 private: | 60 private: |
| 62 JavaObjectWeakGlobalRef weak_jdelegate_; | 61 JavaObjectWeakGlobalRef weak_jdelegate_; |
| 63 }; | 62 }; |
| 64 | 63 |
| 65 bool RegisterInterceptNavigationDelegate(JNIEnv* env); | 64 bool RegisterInterceptNavigationDelegate(JNIEnv* env); |
| 66 | 65 |
| 67 } // namespace navigation_interception | 66 } // namespace navigation_interception |
| 68 | 67 |
| 69 #endif // COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ | 68 #endif // COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ |
| OLD | NEW |