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