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

Unified Diff: content/browser/frame_host/navigation_handle_impl.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 | « chrome/test/BUILD.gn ('k') | content/browser/frame_host/navigation_handle_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_handle_impl.h
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
index cb339d9b0abce61c4a20f67b3eb0cd711bbcd083..ed4dc615fe406f2b4f6501252e78da729ac9ba42 100644
--- a/content/browser/frame_host/navigation_handle_impl.h
+++ b/content/browser/frame_host/navigation_handle_impl.h
@@ -25,6 +25,7 @@
#include "content/public/browser/navigation_data.h"
#include "content/public/browser/navigation_throttle.h"
#include "content/public/browser/navigation_type.h"
+#include "content/public/browser/restore_type.h"
#include "content/public/browser/ssl_status.h"
#include "content/public/common/request_context_type.h"
#include "third_party/WebKit/public/platform/WebMixedContentContextType.h"
@@ -145,6 +146,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
const GURL& GetSearchableFormURL() override;
const std::string& GetSearchableFormEncoding() override;
ReloadType GetReloadType() override;
+ RestoreType GetRestoreType() override;
const GlobalRequestID& GetGlobalRequestID() override;
NavigationData* GetNavigationData() override;
@@ -487,6 +489,9 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
// Stores the reload type, or NONE if it's not a reload.
ReloadType reload_type_;
+ // Stores the restore type, or NONE it it's not a restore.
+ RestoreType restore_type_;
+
GURL searchable_form_url_;
std::string searchable_form_encoding_;
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698