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

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

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_commands.cc ('k') | chrome/browser/ui/browser_tab_restore_service_delegate.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.h
diff --git a/chrome/browser/ui/browser_tab_restore_service_delegate.h b/chrome/browser/ui/browser_tab_restore_service_delegate.h
index ac5353f1220602ac9a9fd9e453a78a496243abde..5d5f362d30ba18c51d0afe290e102cb40048e075 100644
--- a/chrome/browser/ui/browser_tab_restore_service_delegate.h
+++ b/chrome/browser/ui/browser_tab_restore_service_delegate.h
@@ -21,7 +21,8 @@ class WebContents;
// Implementation of TabRestoreServiceDelegate which uses an instance of
// Browser in order to fulfil its duties.
-class BrowserTabRestoreServiceDelegate : public TabRestoreServiceDelegate {
+class BrowserTabRestoreServiceDelegate
+ : public sessions::TabRestoreServiceDelegate {
public:
explicit BrowserTabRestoreServiceDelegate(Browser* browser)
: browser_(browser) {}
@@ -56,19 +57,19 @@ class BrowserTabRestoreServiceDelegate : public TabRestoreServiceDelegate {
void CloseTab() override;
// see Browser::Create
- static TabRestoreServiceDelegate* Create(
+ static sessions::TabRestoreServiceDelegate* Create(
Profile* profile,
chrome::HostDesktopType host_desktop_type,
const std::string& app_name);
// see browser::FindBrowserForWebContents
- static TabRestoreServiceDelegate* FindDelegateForWebContents(
+ static sessions::TabRestoreServiceDelegate* FindDelegateForWebContents(
const content::WebContents* contents);
// see chrome::FindBrowserWithID
// Returns the TabRestoreServiceDelegate of the Browser with |desired_id| if
// such a Browser exists and is on the desktop defined by |host_desktop_type|.
- static TabRestoreServiceDelegate* FindDelegateWithID(
+ static sessions::TabRestoreServiceDelegate* FindDelegateWithID(
SessionID::id_type desired_id,
chrome::HostDesktopType host_desktop_type);
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/browser_tab_restore_service_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698