OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ |
7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" |
8 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
9 #include "content/public/browser/navigation_throttle.h" | 10 #include "content/public/browser/navigation_throttle.h" |
10 #include "content/public/common/referrer.h" | 11 #include "content/public/common/referrer.h" |
11 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
12 #include "ui/base/page_transition_types.h" | 13 #include "ui/base/page_transition_types.h" |
13 | 14 |
14 class GURL; | 15 class GURL; |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 class NavigationThrottle; | 18 class NavigationThrottle; |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 virtual NavigationThrottle::ThrottleCheckResult | 165 virtual NavigationThrottle::ThrottleCheckResult |
165 CallWillRedirectRequestForTesting(const GURL& new_url, | 166 CallWillRedirectRequestForTesting(const GURL& new_url, |
166 bool new_method_is_post, | 167 bool new_method_is_post, |
167 const GURL& new_referrer_url, | 168 const GURL& new_referrer_url, |
168 bool new_is_external_protocol) = 0; | 169 bool new_is_external_protocol) = 0; |
169 }; | 170 }; |
170 | 171 |
171 } // namespace content | 172 } // namespace content |
172 | 173 |
173 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ | 174 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ |
OLD | NEW |