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

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: cleanup 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
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 20bb0f6528faf151eef1d3742374bedcf9f471f1..395da0bc6b0becbe02d717c3d4e89bbe9e01c1dc 100644
--- a/content/browser/frame_host/navigation_controller_impl.h
+++ b/content/browser/frame_host/navigation_controller_impl.h
@@ -450,6 +450,13 @@ class CONTENT_EXPORT NavigationControllerImpl
std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_;
+ // Used to track the reload type triggered by an user action for the last
+ // navigation.
Charlie Reis 2016/09/19 22:23:51 nit: Rephrase to: Used for tracking consecutive re
Takashi Toyoshima 2016/09/26 12:23:34 Done.
+ ReloadType last_committed_reload_type_;
+
+ // Used to track the timestamp for the last navigation when it was reload.
+ base::Time last_committed_reload_time_;
+
DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698