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

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: Really remove webkit_support 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..3a795677ed7bd30dec86cf8dbc17cd148f016080 100644
--- a/chrome/browser/sessions/tab_restore_service_delegate.h
+++ b/chrome/browser/sessions/tab_restore_service_delegate.h
@@ -13,7 +13,6 @@
#include "chrome/browser/ui/host_desktop.h"
class Profile;
-class TabNavigation;
namespace content {
class NavigationController;
@@ -21,6 +20,10 @@ class SessionStorageNamespace;
class WebContents;
}
+namespace sessions {
+class SerializedNavigationEntry;
+}
+
// Objects implement this interface to provide necessary functionality for
// TabRestoreService to operate. These methods are mostly copies of existing
// Browser methods.
@@ -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<sessions::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<sessions::SerializedNavigationEntry>& navigations,
int selected_navigation,
bool from_last_session,
const std::string& extension_app_id,
« no previous file with comments | « chrome/browser/sessions/tab_restore_service.h ('k') | chrome/browser/sessions/tab_restore_service_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698