| Index: content/browser/frame_host/navigation_handle_impl.h
|
| diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
|
| index 41bedf9300dac15f59c3448b550f5600123f9236..c3c3fa73f859706e237d986e0e520be77c31fb6b 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.h
|
| +++ b/content/browser/frame_host/navigation_handle_impl.h
|
| @@ -370,6 +370,11 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| return should_check_main_world_csp_;
|
| }
|
|
|
| + const SourceLocation& source_location() const { return source_location_; }
|
| + void set_source_location(const SourceLocation& source_location) {
|
| + source_location_ = source_location;
|
| + }
|
| +
|
| private:
|
| friend class NavigationHandleImplTest;
|
|
|
| @@ -546,6 +551,11 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| // Whether or not the navigation results from the submission of a form.
|
| bool is_form_submission_;
|
|
|
| + // PlzNavigate
|
| + // Information about the JavaScript that started the navigation. For
|
| + // navigations initiated by Javascript.
|
| + SourceLocation source_location_;
|
| +
|
| base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
|
|
|