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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/android/jni_weak_ref.h" | 10 #include "base/android/jni_weak_ref.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/supports_user_data.h" | 12 #include "base/supports_user_data.h" |
13 | 13 |
14 class GURL; | |
15 | |
16 namespace content { | 14 namespace content { |
17 class NavigationHandle; | 15 class NavigationHandle; |
18 class NavigationThrottle; | 16 class NavigationThrottle; |
19 class WebContents; | 17 class WebContents; |
20 } | 18 } |
21 | 19 |
22 namespace net { | 20 namespace net { |
23 class URLRequest; | 21 class URLRequest; |
24 } | 22 } |
25 | 23 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 private: | 69 private: |
72 JavaObjectWeakGlobalRef weak_jdelegate_; | 70 JavaObjectWeakGlobalRef weak_jdelegate_; |
73 base::TimeTicks last_user_gesture_carryover_timestamp_; | 71 base::TimeTicks last_user_gesture_carryover_timestamp_; |
74 | 72 |
75 DISALLOW_COPY_AND_ASSIGN(InterceptNavigationDelegate); | 73 DISALLOW_COPY_AND_ASSIGN(InterceptNavigationDelegate); |
76 }; | 74 }; |
77 | 75 |
78 } // namespace navigation_interception | 76 } // namespace navigation_interception |
79 | 77 |
80 #endif // COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ | 78 #endif // COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ |
OLD | NEW |