Index: chrome/browser/extensions/api/sessions/sessions_api.h |
diff --git a/chrome/browser/extensions/api/sessions/sessions_api.h b/chrome/browser/extensions/api/sessions/sessions_api.h |
index cd1afeb4eef339ba6a5ddbb594d8a61cc618cbbc..6bdc9dd4dcb993a5016596e9278e927a066d8df3 100644 |
--- a/chrome/browser/extensions/api/sessions/sessions_api.h |
+++ b/chrome/browser/extensions/api/sessions/sessions_api.h |
@@ -36,13 +36,11 @@ class SessionsGetRecentlyClosedFunction : public ChromeSyncExtensionFunction { |
private: |
api::tabs::Tab CreateTabModel(const sessions::TabRestoreService::Tab& tab, |
- int session_id, |
- int selected_index); |
+ bool active); |
std::unique_ptr<api::windows::Window> CreateWindowModel( |
- const sessions::TabRestoreService::Window& window, |
- int session_id); |
+ const sessions::TabRestoreService::Window& window); |
std::unique_ptr<api::sessions::Session> CreateSessionModel( |
- const sessions::TabRestoreService::Entry* entry); |
+ const sessions::TabRestoreService::Entry& entry); |
}; |
class SessionsGetDevicesFunction : public ChromeSyncExtensionFunction { |
@@ -55,7 +53,7 @@ class SessionsGetDevicesFunction : public ChromeSyncExtensionFunction { |
api::tabs::Tab CreateTabModel(const std::string& session_tag, |
const sessions::SessionTab& tab, |
int tab_index, |
- int selected_index); |
+ bool active); |
std::unique_ptr<api::windows::Window> CreateWindowModel( |
const sessions::SessionWindow& window, |
const std::string& session_tag); |