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

Unified Diff: content/browser/frame_host/navigation_controller_impl.h

Issue 2174293002: NonValidatingReload: Monitor reload operations in NavigationControllerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [rebase] Created 4 years, 3 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 | « no previous file | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigation_controller_impl.h
diff --git a/content/browser/frame_host/navigation_controller_impl.h b/content/browser/frame_host/navigation_controller_impl.h
index f1dd0230443fab8754573aa5fa3132fa44926506..527fb8feb502dc2cb1774ece3d43eb61c31be620 100644
--- a/content/browser/frame_host/navigation_controller_impl.h
+++ b/content/browser/frame_host/navigation_controller_impl.h
@@ -451,6 +451,13 @@ class CONTENT_EXPORT NavigationControllerImpl
std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_;
+ // Used for tracking consecutive reload requests. If the last user-initiated
+ // navigation (either browser-initiated or renderer-initiated with a user
+ // gesture) was a reload, these hold the ReloadType and timestamp. Otherwise
+ // these are ReloadType::NONE and a null timestamp, respectively.
+ ReloadType last_committed_reload_type_;
+ base::Time last_committed_reload_time_;
+
DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
};
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698