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

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

Issue 2694183004: Adding TabRestore PLM UMA (Closed)
Patch Set: rebase + comments 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 | « content/browser/frame_host/navigation_handle_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index 0f3892c7015bb271d10eb5716dbc3c3aad61d274..f06bbc7b32b84fd875bc84e5ccb3ef5926ab962e 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -11,6 +11,7 @@
#include "content/common/content_export.h"
#include "content/public/browser/navigation_throttle.h"
#include "content/public/browser/reload_type.h"
+#include "content/public/browser/restore_type.h"
#include "content/public/common/referrer.h"
#include "net/base/host_port_pair.h"
#include "net/base/net_errors.h"
@@ -105,6 +106,10 @@ class CONTENT_EXPORT NavigationHandle {
// ReloadType::NONE.
virtual ReloadType GetReloadType() = 0;
+ // Returns the restore type for this navigation. RestoreType::NONE is returned
+ // if the navigation is not a restore.
+ virtual RestoreType GetRestoreType() = 0;
+
// Parameters available at network request start time ------------------------
//
// The following parameters are only available when the network request is
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698