| 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 ac5e7b73550fd341e906f5e24fdf942fbc32e069..aedfb9ef8170fd6266bd12521eb157a3ad46278d 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"
|
| @@ -183,6 +185,9 @@ class CORE_EXPORT DocumentLoader
|
|
|
| Resource* startPreload(Resource::Type, FetchRequest&);
|
|
|
| + std::unique_ptr<SourceLocation> copySourceLocation() const;
|
| + void setSourceLocation(std::unique_ptr<SourceLocation>);
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
| @@ -282,6 +287,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,
|
|
|