| Index: third_party/WebKit/Source/core/loader/DocumentLoader.h
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
|
| index 112552f99649d29fe91f4fcab8e72eb8dd95fe86..cb84c36ac2b2366da1675ad4ef2202b610db88d1 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
|
| @@ -30,6 +30,8 @@
|
| #ifndef DocumentLoader_h
|
| #define DocumentLoader_h
|
|
|
| +#include <memory>
|
| +#include "bindings/core/v8/SourceLocation.h"
|
| #include "core/CoreExport.h"
|
| #include "core/dom/ViewportDescription.h"
|
| #include "core/dom/WeakIdentifierMap.h"
|
| @@ -200,6 +202,9 @@ class CORE_EXPORT DocumentLoader
|
| return m_serviceWorkerNetworkProvider.get();
|
| }
|
|
|
| + std::unique_ptr<SourceLocation> copySourceLocation() const;
|
| + void setSourceLocation(std::unique_ptr<SourceLocation>);
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
| @@ -303,6 +308,11 @@ class CORE_EXPORT DocumentLoader
|
|
|
| bool m_wasBlockedAfterCSP;
|
|
|
| + // PlzNavigate: set when committing a navigation. The data has originally been
|
| + // captured when the navigation was sent to the browser process, and it is
|
| + // sent back at commit time.
|
| + std::unique_ptr<SourceLocation> m_sourceLocation;
|
| +
|
| enum State {
|
| NotStarted,
|
| Provisional,
|
|
|