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_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
7 | 7 |
8 #include "content/public/browser/navigation_handle.h" | 8 #include "content/public/browser/navigation_handle.h" |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 const Referrer& sanitized_referrer, | 110 const Referrer& sanitized_referrer, |
111 bool has_user_gesture, | 111 bool has_user_gesture, |
112 ui::PageTransition transition, | 112 ui::PageTransition transition, |
113 bool is_external_protocol) override; | 113 bool is_external_protocol) override; |
114 NavigationThrottle::ThrottleCheckResult CallWillRedirectRequestForTesting( | 114 NavigationThrottle::ThrottleCheckResult CallWillRedirectRequestForTesting( |
115 const GURL& new_url, | 115 const GURL& new_url, |
116 bool new_method_is_post, | 116 bool new_method_is_post, |
117 const GURL& new_referrer_url, | 117 const GURL& new_referrer_url, |
118 bool new_is_external_protocol) override; | 118 bool new_is_external_protocol) override; |
119 NavigationThrottle::ThrottleCheckResult CallWillProcessResponseForTesting( | 119 NavigationThrottle::ThrottleCheckResult CallWillProcessResponseForTesting( |
| 120 RenderFrameHost* render_frame_host, |
| 121 scoped_refptr<net::HttpResponseHeaders> response_headers) override; |
| 122 void CallDidCommitNavigationForTesting( |
| 123 const GURL& url, |
| 124 ui::PageTransition transition, |
| 125 bool same_page, |
120 RenderFrameHost* render_frame_host) override; | 126 RenderFrameHost* render_frame_host) override; |
121 | 127 |
122 NavigationData* GetNavigationData() override; | 128 NavigationData* GetNavigationData() override; |
123 | 129 |
124 NavigatorDelegate* GetDelegate() const; | 130 NavigatorDelegate* GetDelegate() const; |
125 | 131 |
126 RequestContextType GetRequestContextType() const; | 132 RequestContextType GetRequestContextType() const; |
127 | 133 |
128 // Get the unique id from the NavigationEntry associated with this | 134 // Get the unique id from the NavigationEntry associated with this |
129 // NavigationHandle. Note that a synchronous, renderer-initiated navigation | 135 // NavigationHandle. Note that a synchronous, renderer-initiated navigation |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 std::unique_ptr<NavigationData> navigation_data_; | 335 std::unique_ptr<NavigationData> navigation_data_; |
330 | 336 |
331 SSLStatus ssl_status_; | 337 SSLStatus ssl_status_; |
332 | 338 |
333 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); | 339 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |
334 }; | 340 }; |
335 | 341 |
336 } // namespace content | 342 } // namespace content |
337 | 343 |
338 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 344 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
OLD | NEW |