summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
authorscottmg <scottmg@chromium.org>2016-02-16 18:08:01 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-17 02:09:50 +0000
commitd161e6c467bcb73373eab25b92ef4c772bced04c (patch)
treed22bfbcd53a79a1b95e7ad279fcb372baf353663 /ios
parentec8cab4d9895568bb2c682556efdcc3aa08ab818 (diff)
downloadchromium_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.cc4
-rw-r--r--ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.h4
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;