| 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 3d62bb76c3ff21e89cdc417c465c26ad9e2fc27b..d61212229fba3da1a2671db8697030c8a7cfd188 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.h
|
| +++ b/content/browser/frame_host/navigation_handle_impl.h
|
| @@ -355,6 +355,11 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| base_url_for_data_url_ = url;
|
| }
|
|
|
| + const SourceLocation& source_location() const { return source_location_; }
|
| + void set_source_location(const SourceLocation& source_location) {
|
| + source_location_ = source_location;
|
| + }
|
| +
|
| private:
|
| friend class NavigationHandleImplTest;
|
|
|
| @@ -520,6 +525,11 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| net::HostPortPair socket_address_;
|
| NavigationType navigation_type_;
|
|
|
| + // 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);
|
|
|