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

Unified Diff: chrome/browser/ui/browser_tabrestore.h

Issue 2930013005: [Tab Metrics] Measure FP, FCP and FMP for Foreground Tab during Session Restore (Closed)
Patch Set: Add RemoveFromWebContents() to RestoreOrigin. Created 3 years, 5 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: chrome/browser/ui/browser_tabrestore.h
diff --git a/chrome/browser/ui/browser_tabrestore.h b/chrome/browser/ui/browser_tabrestore.h
index 79fa951ec45e6d4968f117879f59952424fb929b..fdbbb7e8aa048dd5b2ee1433c57231323a485642 100644
--- a/chrome/browser/ui/browser_tabrestore.h
+++ b/chrome/browser/ui/browser_tabrestore.h
@@ -7,6 +7,7 @@
#include <vector>
+#include "chrome/browser/sessions/session_restore.h"
#include "components/sessions/core/session_types.h"
class Browser;
@@ -43,7 +44,8 @@ content::WebContents* AddRestoredTab(
bool pin,
bool from_last_session,
content::SessionStorageNamespace* storage_namespace,
- const std::string& user_agent_override);
+ const std::string& user_agent_override,
+ base::Optional<RestoreOrigin::Type> restore_origin_type = base::nullopt);
// Replaces the state of the currently selected tab with the session
// history restored from the SessionRestore system. Returns the WebContents of

Powered by Google App Engine
This is Rietveld 408576698