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

Unified Diff: chrome/browser/ui/browser_tab_restore_service_delegate.cc

Issue 21022018: Sessions API - previously Session Restore API. Supports restoring currently open foreign windows an… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added assert true to test Created 7 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_tab_restore_service_delegate.cc
diff --git a/chrome/browser/ui/browser_tab_restore_service_delegate.cc b/chrome/browser/ui/browser_tab_restore_service_delegate.cc
index 484ba9d7a090929fb4771b83c7f6f5dbe099110f..df6c9b51f4191b48ba3604758338c561fb718ebc 100644
--- a/chrome/browser/ui/browser_tab_restore_service_delegate.cc
+++ b/chrome/browser/ui/browser_tab_restore_service_delegate.cc
@@ -65,14 +65,14 @@ WebContents* BrowserTabRestoreServiceDelegate::AddRestoredTab(
user_agent_override);
}
-void BrowserTabRestoreServiceDelegate::ReplaceRestoredTab(
+WebContents* BrowserTabRestoreServiceDelegate::ReplaceRestoredTab(
const std::vector<sessions::SerializedNavigationEntry>& navigations,
int selected_navigation,
bool from_last_session,
const std::string& extension_app_id,
SessionStorageNamespace* session_storage_namespace,
const std::string& user_agent_override) {
- chrome::ReplaceRestoredTab(browser_, navigations, selected_navigation,
+ return chrome::ReplaceRestoredTab(browser_, navigations, selected_navigation,
from_last_session, extension_app_id,
session_storage_namespace, user_agent_override);
}

Powered by Google App Engine
This is Rietveld 408576698