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

Unified Diff: content/public/browser/navigation_handle.h

Issue 2584513003: PlzNavigate: identify same-page browser-initiated navigation. (Closed)
Patch Set: Adding a DCHECK to probably make a lot of tests fail. 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: content/public/browser/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index 96dddc5624480a94045937de247eedbc4eea8a5d..2c48ea768e9639d4bd7726c1b8391f87a5f8cce5 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -149,6 +149,7 @@ class CONTENT_EXPORT NavigationHandle {
// navigations are:
// * reference fragment navigations
// * pushState/replaceState
+ // * same page history navigation
virtual bool IsSamePage() = 0;
// Whether the navigation has encountered a server redirect or not.

Powered by Google App Engine
This is Rietveld 408576698