Index: third_party/WebKit/public/web/WebDataSource.h |
diff --git a/third_party/WebKit/public/web/WebDataSource.h b/third_party/WebKit/public/web/WebDataSource.h |
index a084487335ca8ac0d6d4cbb665b4799caf892db2..7ba1d27e40d62dfa4567961b2efbf32ae72c40e1 100644 |
--- a/third_party/WebKit/public/web/WebDataSource.h |
+++ b/third_party/WebKit/public/web/WebDataSource.h |
@@ -35,6 +35,7 @@ |
#include "../platform/WebCommon.h" |
#include "WebNavigationType.h" |
+#include "WebSourceLocation.h" |
#include "WebTextDirection.h" |
namespace blink { |
@@ -131,6 +132,11 @@ class WebDataSource { |
virtual WebServiceWorkerNetworkProvider* |
getServiceWorkerNetworkProvider() = 0; |
+ // PlzNavigate |
+ // Allows to specify the SourceLocation that triggered the navigation. |
+ virtual void setSourceLocation(const WebSourceLocation&) = 0; |
+ virtual void resetSourceLocation() = 0; |
+ |
protected: |
~WebDataSource() {} |
}; |