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

Unified Diff: chrome/browser/sessions/base_session_service.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
« no previous file with comments | « chrome/browser/search/search.cc ('k') | chrome/browser/sessions/base_session_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/base_session_service.h
diff --git a/chrome/browser/sessions/base_session_service.h b/chrome/browser/sessions/base_session_service.h
index 1d3fac2476d00df0eff6833e5747de50347545f0..2e7b25809820a9ed1a022db44199c5f4073254b9 100644
--- a/chrome/browser/sessions/base_session_service.h
+++ b/chrome/browser/sessions/base_session_service.h
@@ -21,7 +21,10 @@
class Profile;
class SessionBackend;
class SessionCommand;
-class TabNavigation;
+
+namespace sessions {
+class SerializedNavigationEntry;
+}
// BaseSessionService is the super class of both tab restore service and
// session service. It contains commonality needed by both, in particular
@@ -89,7 +92,7 @@ class BaseSessionService : public CancelableRequestProvider {
SessionCommand* CreateUpdateTabNavigationCommand(
SessionID::id_type command_id,
SessionID::id_type tab_id,
- const TabNavigation& navigation);
+ const sessions::SerializedNavigationEntry& navigation);
// Creates a SessionCommand that represents marking a tab as an application.
SessionCommand* CreateSetTabExtensionAppIDCommand(
@@ -111,11 +114,13 @@ class BaseSessionService : public CancelableRequestProvider {
const std::string& app_name);
// Converts a SessionCommand previously created by
- // CreateUpdateTabNavigationCommand into a TabNavigation. Returns true
- // on success. If successful |tab_id| is set to the id of the restored tab.
- bool RestoreUpdateTabNavigationCommand(const SessionCommand& command,
- TabNavigation* navigation,
- SessionID::id_type* tab_id);
+ // CreateUpdateTabNavigationCommand into a
+ // sessions::SerializedNavigationEntry. Returns true on success. If
+ // successful |tab_id| is set to the id of the restored tab.
+ bool RestoreUpdateTabNavigationCommand(
+ const SessionCommand& command,
+ sessions::SerializedNavigationEntry* navigation,
+ SessionID::id_type* tab_id);
// Extracts a SessionCommand as previously created by
// CreateSetTabExtensionAppIDCommand into the tab id and application
« no previous file with comments | « chrome/browser/search/search.cc ('k') | chrome/browser/sessions/base_session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698