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_UI_WEBUI_FOREIGN_SESSION_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_FOREIGN_SESSION_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_FOREIGN_SESSION_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_FOREIGN_SESSION_HANDLER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/scoped_observer.h" | 10 #include "base/scoped_observer.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "chrome/browser/sessions/session_service.h" | 12 #include "chrome/browser/sessions/session_service.h" |
13 #include "components/sync_driver/open_tabs_ui_delegate.h" | |
14 #include "components/sync_driver/sync_service_observer.h" | 13 #include "components/sync_driver/sync_service_observer.h" |
| 14 #include "components/sync_sessions/open_tabs_ui_delegate.h" |
15 #include "content/public/browser/web_ui.h" | 15 #include "content/public/browser/web_ui.h" |
16 #include "content/public/browser/web_ui_message_handler.h" | 16 #include "content/public/browser/web_ui_message_handler.h" |
17 | 17 |
18 namespace sessions { | 18 namespace sessions { |
19 struct SessionTab; | 19 struct SessionTab; |
20 struct SessionWindow; | 20 struct SessionWindow; |
21 } | 21 } |
22 | 22 |
23 namespace sync_driver { | 23 namespace sync_driver { |
24 class SyncService; | 24 class SyncService; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // The time at which this WebUI was created. Used to calculate how long | 95 // The time at which this WebUI was created. Used to calculate how long |
96 // the WebUI was present before the sessions data was visible. | 96 // the WebUI was present before the sessions data was visible. |
97 base::TimeTicks load_attempt_time_; | 97 base::TimeTicks load_attempt_time_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(ForeignSessionHandler); | 99 DISALLOW_COPY_AND_ASSIGN(ForeignSessionHandler); |
100 }; | 100 }; |
101 | 101 |
102 } // namespace browser_sync | 102 } // namespace browser_sync |
103 | 103 |
104 #endif // CHROME_BROWSER_UI_WEBUI_FOREIGN_SESSION_HANDLER_H_ | 104 #endif // CHROME_BROWSER_UI_WEBUI_FOREIGN_SESSION_HANDLER_H_ |
OLD | NEW |