OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_SESSIONS_TAB_RESTORE_SERVICE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_HELPER_H_ |
6 #define CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_HELPER_H_ | 6 #define CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_HELPER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "chrome/browser/sessions/tab_restore_service.h" | 14 #include "chrome/browser/sessions/tab_restore_service.h" |
15 #include "chrome/browser/ui/host_desktop.h" | |
16 #include "components/sessions/session_id.h" | 15 #include "components/sessions/session_id.h" |
17 #include "components/sessions/session_types.h" | 16 #include "components/sessions/session_types.h" |
| 17 #include "ui/gfx/host_desktop_type.h" |
18 | 18 |
19 class Profile; | 19 class Profile; |
20 class TabRestoreService; | 20 class TabRestoreService; |
21 class TabRestoreServiceDelegate; | 21 class TabRestoreServiceDelegate; |
22 class TabRestoreServiceObserver; | 22 class TabRestoreServiceObserver; |
23 class TimeFactory; | 23 class TimeFactory; |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 class NavigationController; | 26 class NavigationController; |
27 class WebContents; | 27 class WebContents; |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 // corresponding BrowserClosed. We cache the set of delegates closing to | 190 // corresponding BrowserClosed. We cache the set of delegates closing to |
191 // avoid creating historical tabs for them. | 191 // avoid creating historical tabs for them. |
192 std::set<TabRestoreServiceDelegate*> closing_delegates_; | 192 std::set<TabRestoreServiceDelegate*> closing_delegates_; |
193 | 193 |
194 TimeFactory* const time_factory_; | 194 TimeFactory* const time_factory_; |
195 | 195 |
196 DISALLOW_COPY_AND_ASSIGN(TabRestoreServiceHelper); | 196 DISALLOW_COPY_AND_ASSIGN(TabRestoreServiceHelper); |
197 }; | 197 }; |
198 | 198 |
199 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_HELPER_H_ | 199 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_HELPER_H_ |
OLD | NEW |