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

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

Issue 1350653004: [sessions] Properly namespace recently-componentized TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac Created 5 years, 3 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_tab_restorer.cc » ('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 8c9aaafea42cd77d62d0c2bc4af3bdc25bb5af7f..2e783a28bde78530a8af93ef91ed5345cfb610c0 100644
--- a/chrome/browser/ui/browser_tab_restore_service_delegate.cc
+++ b/chrome/browser/ui/browser_tab_restore_service_delegate.cc
@@ -102,7 +102,7 @@ void BrowserTabRestoreServiceDelegate::CloseTab() {
}
// static
-TabRestoreServiceDelegate* BrowserTabRestoreServiceDelegate::Create(
+sessions::TabRestoreServiceDelegate* BrowserTabRestoreServiceDelegate::Create(
Profile* profile,
chrome::HostDesktopType host_desktop_type,
const std::string& app_name) {
@@ -123,7 +123,7 @@ TabRestoreServiceDelegate* BrowserTabRestoreServiceDelegate::Create(
}
// static
-TabRestoreServiceDelegate*
+sessions::TabRestoreServiceDelegate*
BrowserTabRestoreServiceDelegate::FindDelegateForWebContents(
const WebContents* contents) {
Browser* browser = chrome::FindBrowserWithWebContents(contents);
@@ -131,7 +131,8 @@ BrowserTabRestoreServiceDelegate::FindDelegateForWebContents(
}
// static
-TabRestoreServiceDelegate* BrowserTabRestoreServiceDelegate::FindDelegateWithID(
+sessions::TabRestoreServiceDelegate*
+BrowserTabRestoreServiceDelegate::FindDelegateWithID(
SessionID::id_type desired_id,
chrome::HostDesktopType host_desktop_type) {
Browser* browser = chrome::FindBrowserWithID(desired_id);
« no previous file with comments | « chrome/browser/ui/browser_tab_restore_service_delegate.h ('k') | chrome/browser/ui/browser_tab_restorer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698