Index: chrome/browser/sessions/tab_restore_service_delegate.h |
diff --git a/chrome/browser/sessions/tab_restore_service_delegate.h b/chrome/browser/sessions/tab_restore_service_delegate.h |
index adf0eda024aa84d6ffa4e87e7be734824c9d01b4..aca5b5f80c5486c3fb457b089e79c7e936b002f6 100644 |
--- a/chrome/browser/sessions/tab_restore_service_delegate.h |
+++ b/chrome/browser/sessions/tab_restore_service_delegate.h |
@@ -36,6 +36,9 @@ class TabRestoreServiceDelegate { |
// see Browser::active_index() |
virtual int GetSelectedIndex() const = 0; |
+ // see Browser::app_name() |
+ virtual std::string GetAppName() const = 0; |
+ |
// see Browser methods with the same names |
virtual content::WebContents* GetWebContentsAt(int index) const = 0; |
virtual content::WebContents* GetSelectedWebContents() const = 0; |
@@ -58,7 +61,8 @@ class TabRestoreServiceDelegate { |
virtual void CloseTab() = 0; |
// see Browser::Create |
- static TabRestoreServiceDelegate* Create(Profile* profile); |
+ static TabRestoreServiceDelegate* Create(Profile* profile, |
+ const std::string& app_name); |
// see BrowserList::GetBrowserForController |
static TabRestoreServiceDelegate* FindDelegateForController( |