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

Unified Diff: third_party/WebKit/Source/platform/network/ResourceRequest.h

Issue 2584513003: PlzNavigate: identify same-page browser-initiated navigation. (Closed)
Patch Set: Rebase. Created 3 years, 10 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/network/ResourceRequest.h
diff --git a/third_party/WebKit/Source/platform/network/ResourceRequest.h b/third_party/WebKit/Source/platform/network/ResourceRequest.h
index f1324df45d1d6fd7a48872b3629ea5eca46b0dd1..26d93f9481b38922a21b9b96d27fc88faa4dfca8 100644
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.h
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.h
@@ -310,6 +310,11 @@ class PLATFORM_EXPORT ResourceRequest final {
void setNavigationStartTime(double);
double navigationStartTime() const { return m_navigationStart; }
+ void setIsSameDocumentNavigation(bool isSameDocument) {
+ m_isSameDocumentNavigation = isSameDocument;
+ }
+ bool isSameDocumentNavigation() const { return m_isSameDocumentNavigation; }
+
private:
const CacheControlHeader& cacheControlHeader() const;
@@ -350,6 +355,7 @@ class PLATFORM_EXPORT ResourceRequest final {
bool m_checkForBrowserSideNavigation;
double m_uiStartTime;
bool m_isExternalRequest;
+ bool m_isSameDocumentNavigation;
InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy;
mutable CacheControlHeader m_cacheControlHeaderCache;

Powered by Google App Engine
This is Rietveld 408576698