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

Unified Diff: third_party/WebKit/public/platform/WebURLRequest.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
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceRequest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebURLRequest.h
diff --git a/third_party/WebKit/public/platform/WebURLRequest.h b/third_party/WebKit/public/platform/WebURLRequest.h
index 57c31b622d5c11801b38f8008f5f63f716e66883..84aa69ff411b5fe2604d8ec9fe8eb8abba02870d 100644
--- a/third_party/WebKit/public/platform/WebURLRequest.h
+++ b/third_party/WebKit/public/platform/WebURLRequest.h
@@ -335,6 +335,12 @@ class WebURLRequest {
BLINK_PLATFORM_EXPORT void setNavigationStartTime(double);
+ // PlzNavigate: specify that the request was intended to be loaded as a same
+ // document navigation. No network requests should be made and the request
+ // should be dropped if a different document was loaded in the frame
+ // in-between.
+ BLINK_PLATFORM_EXPORT void setIsSameDocumentNavigation(bool);
+
#if INSIDE_BLINK
BLINK_PLATFORM_EXPORT ResourceRequest& toMutableResourceRequest();
BLINK_PLATFORM_EXPORT const ResourceRequest& toResourceRequest() const;
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698