OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_BROWSER_TABRESTORE_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_TABRESTORE_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_TABRESTORE_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_TABRESTORE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "chrome/browser/sessions/session_types.h" | 10 #include "chrome/browser/sessions/session_types.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 content::WebContents* AddRestoredTab( | 35 content::WebContents* AddRestoredTab( |
36 Browser* browser, | 36 Browser* browser, |
37 const std::vector<sessions::SerializedNavigationEntry>& navigations, | 37 const std::vector<sessions::SerializedNavigationEntry>& navigations, |
38 int tab_index, | 38 int tab_index, |
39 int selected_navigation, | 39 int selected_navigation, |
40 const std::string& extension_app_id, | 40 const std::string& extension_app_id, |
41 bool select, | 41 bool select, |
42 bool pin, | 42 bool pin, |
43 bool from_last_session, | 43 bool from_last_session, |
44 content::SessionStorageNamespace* storage_namespace, | 44 content::SessionStorageNamespace* storage_namespace, |
45 const std::string& user_agent_override); | 45 const std::string& user_agent_override, |
| 46 const int64& sync_id); |
46 | 47 |
47 // Replaces the state of the currently selected tab with the session | 48 // Replaces the state of the currently selected tab with the session |
48 // history restored from the SessionRestore system. | 49 // history restored from the SessionRestore system. |
49 void ReplaceRestoredTab( | 50 void ReplaceRestoredTab( |
50 Browser* browser, | 51 Browser* browser, |
51 const std::vector<sessions::SerializedNavigationEntry>& navigations, | 52 const std::vector<sessions::SerializedNavigationEntry>& navigations, |
52 int selected_navigation, | 53 int selected_navigation, |
53 bool from_last_session, | 54 bool from_last_session, |
54 const std::string& extension_app_id, | 55 const std::string& extension_app_id, |
55 content::SessionStorageNamespace* session_storage_namespace, | 56 content::SessionStorageNamespace* session_storage_namespace, |
56 const std::string& user_agent_override); | 57 const std::string& user_agent_override, |
57 | 58 const int64& sync_id); |
58 | 59 |
59 } // namespace chrome | 60 } // namespace chrome |
60 | 61 |
61 #endif // CHROME_BROWSER_UI_BROWSER_TABRESTORE_H_ | 62 #endif // CHROME_BROWSER_UI_BROWSER_TABRESTORE_H_ |
OLD | NEW |