| 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_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/session_id.h" | |
| 15 #include "chrome/browser/sessions/session_types.h" | 14 #include "chrome/browser/sessions/session_types.h" |
| 16 #include "chrome/browser/sessions/tab_restore_service.h" | 15 #include "chrome/browser/sessions/tab_restore_service.h" |
| 17 #include "chrome/browser/ui/host_desktop.h" | 16 #include "chrome/browser/ui/host_desktop.h" |
| 17 #include "components/sessions/session_id.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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 // corresponding BrowserClosed. We cache the set of delegates closing to | 184 // corresponding BrowserClosed. We cache the set of delegates closing to |
| 185 // avoid creating historical tabs for them. | 185 // avoid creating historical tabs for them. |
| 186 std::set<TabRestoreServiceDelegate*> closing_delegates_; | 186 std::set<TabRestoreServiceDelegate*> closing_delegates_; |
| 187 | 187 |
| 188 TimeFactory* const time_factory_; | 188 TimeFactory* const time_factory_; |
| 189 | 189 |
| 190 DISALLOW_COPY_AND_ASSIGN(TabRestoreServiceHelper); | 190 DISALLOW_COPY_AND_ASSIGN(TabRestoreServiceHelper); |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_HELPER_H_ | 193 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_HELPER_H_ |
| OLD | NEW |