Chromium Code Reviews| 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..a21af943f95185959b09062f89a36a32ebcbeb90 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 |
|
nasko
2017/03/15 18:29:08
nit: JavaScript
nit: For
clamy
2017/03/16 15:07:03
Done.
|
| + // navigations initiated by Javascript. |
| + SourceLocation source_location_; |
| + |
| base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; |
| DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |