Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLRequest.cpp

Issue 2584513003: PlzNavigate: identify same-page browser-initiated navigation. (Closed)
Patch Set: Fix 2 WebContentsImplTest by assigning a document_sequence_number. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
index 64427b439b7c5964ded8ee34eebcc7a6166cd131..35474e618bc04419c6883e4632eb0b555c31723b 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
@@ -409,6 +409,10 @@ void WebURLRequest::setNavigationStartTime(double navigationStartSeconds) {
m_resourceRequest->setNavigationStartTime(navigationStartSeconds);
}
+void WebURLRequest::setIsSameDocumentNavigation(bool isSameDocument) {
+ m_resourceRequest->setIsSameDocumentNavigation(isSameDocument);
+}
+
WebURLRequest::InputToLoadPerfMetricReportPolicy
WebURLRequest::inputPerfMetricReportPolicy() const {
return static_cast<WebURLRequest::InputToLoadPerfMetricReportPolicy>(

Powered by Google App Engine
This is Rietveld 408576698