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

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

Issue 21656002: Return webcontents and add in test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/ui/browser_tab_restore_service_delegate.h ('k') | chrome/browser/ui/browser_tabrestore.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « chrome/browser/ui/browser_tab_restore_service_delegate.h ('k') | chrome/browser/ui/browser_tabrestore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698