Index: chrome/browser/sessions/session_service_commands.h |
diff --git a/chrome/browser/sessions/session_service_commands.h b/chrome/browser/sessions/session_service_commands.h |
index 25d92413bcd4eb046c084da82bbdee0bb5e4b73e..cccf11cf70d5d000a90a33f918ad9692765dbf0b 100644 |
--- a/chrome/browser/sessions/session_service_commands.h |
+++ b/chrome/browser/sessions/session_service_commands.h |
@@ -68,12 +68,12 @@ scoped_ptr<SessionCommand> CreateSetWindowAppNameCommand( |
const SessionID& window_id, |
const std::string& app_name); |
-// Searches for a pending command in |pending_commands| that can be replaced |
-// with |command|. If one is found, pending command is removed, the command |
-// is added to the pending commands (taken ownership) and true is returned. |
-bool ReplacePendingCommand( |
- ScopedVector<SessionCommand>& pending_commands, |
- scoped_ptr<SessionCommand>* command); |
+// Searches for a pending command using |base_session_service| that can be |
+// replaced with |command|. If one is found, pending command is removed, the |
+// command is added to the pending commands (taken ownership) and true is |
+// returned. |
+bool ReplacePendingCommand(BaseSessionService* base_session_service, |
+ scoped_ptr<SessionCommand>* command); |
// Returns true if provided |command| either closes a window or a tab. |
bool IsClosingCommand(SessionCommand* command); |