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

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: use NavigationEntryImpl to keep ReloadType Created 4 years, 4 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 6947ce9565f045162a675d7471f70fa24456a3ad..7d6eafd1ebdfca76f120215bb88f72d5d4e88858 100644
--- a/content/browser/frame_host/navigation_controller_impl.h
+++ b/content/browser/frame_host/navigation_controller_impl.h
@@ -448,6 +448,15 @@ class CONTENT_EXPORT NavigationControllerImpl
std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_;
+ // Used to track if the last navigation type is for reload operations.
Charlie Reis 2016/08/08 23:57:53 We should be specific about whether this refers to
Takashi Toyoshima 2016/08/09 12:06:17 This is confusing, but when NotifyNavigationEntryC
+ bool is_last_navigation_reload_;
+
+ // Used to track the last reload type.
+ ReloadType last_reload_type_;
+
+ // Used to track delta time between subsequent navigations for the main frame.
+ base::Time last_navigation_time_;
Charlie Reis 2016/08/08 23:57:54 I'm wondering if this is already tracked somewhere
Takashi Toyoshima 2016/08/09 12:06:17 At this point, the entry is already overwritten wi
+
DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698