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

Unified Diff: chrome/browser/sessions/tab_restore_service_delegate.h

Issue 14497003: Moves TabNavigation into components/sessions and renames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 years, 8 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/sessions/tab_restore_service_delegate.h
diff --git a/chrome/browser/sessions/tab_restore_service_delegate.h b/chrome/browser/sessions/tab_restore_service_delegate.h
index f00c8c0dfde7a823427659deaf08635995bf9c3c..5cd812f939667e0339798fddad27a0de1b270cc9 100644
--- a/chrome/browser/sessions/tab_restore_service_delegate.h
+++ b/chrome/browser/sessions/tab_restore_service_delegate.h
@@ -13,7 +13,10 @@
#include "chrome/browser/ui/host_desktop.h"
class Profile;
-class TabNavigation;
+
+namespace components {
+class SerializedNavigationEntry;
+}
namespace content {
class NavigationController;
@@ -46,7 +49,7 @@ class TabRestoreServiceDelegate {
virtual content::WebContents* GetActiveWebContents() const = 0;
virtual bool IsTabPinned(int index) const = 0;
virtual content::WebContents* AddRestoredTab(
- const std::vector<TabNavigation>& navigations,
+ const std::vector<components::SerializedNavigationEntry>& navigations,
int tab_index,
int selected_navigation,
const std::string& extension_app_id,
@@ -56,7 +59,7 @@ class TabRestoreServiceDelegate {
content::SessionStorageNamespace* storage_namespace,
const std::string& user_agent_override) = 0;
virtual void ReplaceRestoredTab(
- const std::vector<TabNavigation>& navigations,
+ const std::vector<components::SerializedNavigationEntry>& navigations,
int selected_navigation,
bool from_last_session,
const std::string& extension_app_id,

Powered by Google App Engine
This is Rietveld 408576698