diff options
author | scottmg <scottmg@chromium.org> | 2016-02-16 18:08:01 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-17 02:09:50 +0000 |
commit | d161e6c467bcb73373eab25b92ef4c772bced04c (patch) | |
tree | d22bfbcd53a79a1b95e7ad279fcb372baf353663 /ios | |
parent | ec8cab4d9895568bb2c682556efdcc3aa08ab818 (diff) | |
download | chromium_src-d161e6c467bcb73373eab25b92ef4c772bced04c.zip chromium_src-d161e6c467bcb73373eab25b92ef4c772bced04c.tar.gz chromium_src-d161e6c467bcb73373eab25b92ef4c772bced04c.tar.bz2 |
Remove HostDesktopType from sessions and tab restore
R=sky@chromium.org, stuartmorgan@chromium.org
BUG=558054
Review URL: https://codereview.chromium.org/1697183003
Cr-Commit-Position: refs/heads/master@{#375753}
Diffstat (limited to 'ios')
-rw-r--r-- | ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.cc | 4 | ||||
-rw-r--r-- | ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.cc b/ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.cc index 636b3ee..9873924 100644 --- a/ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.cc +++ b/ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.cc @@ -19,7 +19,6 @@ IOSChromeTabRestoreServiceClient::~IOSChromeTabRestoreServiceClient() {} sessions::LiveTabContext* IOSChromeTabRestoreServiceClient::CreateLiveTabContext( - int host_desktop_type, const std::string& app_name) { return ios::GetChromeBrowserProvider()->GetLiveTabContextProvider()->Create( browser_state_); @@ -35,8 +34,7 @@ IOSChromeTabRestoreServiceClient::FindLiveTabContextForTab( sessions::LiveTabContext* IOSChromeTabRestoreServiceClient::FindLiveTabContextWithID( - SessionID::id_type desired_id, - int host_desktop_type) { + SessionID::id_type desired_id) { return ios::GetChromeBrowserProvider() ->GetLiveTabContextProvider() ->FindContextWithID(desired_id); diff --git a/ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.h b/ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.h index b2429b2..4e83c9d 100644 --- a/ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.h +++ b/ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.h @@ -24,13 +24,11 @@ class IOSChromeTabRestoreServiceClient private: // TabRestoreServiceClient: sessions::LiveTabContext* CreateLiveTabContext( - int host_desktop_type, const std::string& app_name) override; sessions::LiveTabContext* FindLiveTabContextForTab( const sessions::LiveTab* tab) override; sessions::LiveTabContext* FindLiveTabContextWithID( - SessionID::id_type desired_id, - int host_desktop_type) override; + SessionID::id_type desired_id) override; bool ShouldTrackURLForRestore(const GURL& url) override; std::string GetExtensionAppIDForTab(sessions::LiveTab* tab) override; base::SequencedWorkerPool* GetBlockingPool() override; |