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

Side by Side Diff: content/browser/frame_host/navigation_handle_impl.h

Issue 2381503003: PlzNav: Fix NavigationControllerBrowserTest.EnsureSamePageNavigationUpdatesFrameNaviga… (Closed)
Patch Set: . Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 render_frame_host_ = render_frame_host; 177 render_frame_host_ = render_frame_host;
178 } 178 }
179 179
180 // Returns the POST body associated with this navigation. This will be 180 // Returns the POST body associated with this navigation. This will be
181 // null for GET and/or other non-POST requests (or if a response to a POST 181 // null for GET and/or other non-POST requests (or if a response to a POST
182 // request was a redirect that changed the method to GET - for example 302). 182 // request was a redirect that changed the method to GET - for example 302).
183 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body() const { 183 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body() const {
184 return resource_request_body_; 184 return resource_request_body_;
185 } 185 }
186 186
187 const GURL& original_url() const { return original_url_; }
188
187 // PlzNavigate 189 // PlzNavigate
188 void InitServiceWorkerHandle( 190 void InitServiceWorkerHandle(
189 ServiceWorkerContextWrapper* service_worker_context); 191 ServiceWorkerContextWrapper* service_worker_context);
190 ServiceWorkerNavigationHandle* service_worker_handle() const { 192 ServiceWorkerNavigationHandle* service_worker_handle() const {
191 return service_worker_handle_.get(); 193 return service_worker_handle_.get();
192 } 194 }
193 195
194 typedef base::Callback<void(NavigationThrottle::ThrottleCheckResult)> 196 typedef base::Callback<void(NavigationThrottle::ThrottleCheckResult)>
195 ThrottleChecksFinishedCallback; 197 ThrottleChecksFinishedCallback;
196 198
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 bool started_from_context_menu_; 424 bool started_from_context_menu_;
423 425
424 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; 426 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
425 427
426 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 428 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
427 }; 429 };
428 430
429 } // namespace content 431 } // namespace content
430 432
431 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 433 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698