OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_SYNC_SESSIONS_OPEN_TABS_UI_DELEGATE_H_ | 5 #ifndef COMPONENTS_SYNC_SESSIONS_OPEN_TABS_UI_DELEGATE_H_ |
6 #define COMPONENTS_SYNC_SESSIONS_OPEN_TABS_UI_DELEGATE_H_ | 6 #define COMPONENTS_SYNC_SESSIONS_OPEN_TABS_UI_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
13 #include "base/memory/ref_counted_memory.h" | 12 #include "base/memory/ref_counted_memory.h" |
14 #include "components/sessions/core/session_id.h" | 13 #include "components/sessions/core/session_id.h" |
15 #include "components/sessions/core/session_types.h" | 14 #include "components/sessions/core/session_types.h" |
16 #include "components/sync_sessions/synced_session.h" | 15 #include "components/sync_sessions/synced_session.h" |
17 | 16 |
18 namespace sync_driver { | 17 namespace sync_driver { |
19 | 18 |
20 class OpenTabsUIDelegate { | 19 class OpenTabsUIDelegate { |
21 public: | 20 public: |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // local machine. | 60 // local machine. |
62 virtual bool GetLocalSession(const SyncedSession** local) = 0; | 61 virtual bool GetLocalSession(const SyncedSession** local) = 0; |
63 | 62 |
64 protected: | 63 protected: |
65 virtual ~OpenTabsUIDelegate(); | 64 virtual ~OpenTabsUIDelegate(); |
66 }; | 65 }; |
67 | 66 |
68 } // namespace sync_driver | 67 } // namespace sync_driver |
69 | 68 |
70 #endif // COMPONENTS_SYNC_SESSIONS_OPEN_TABS_UI_DELEGATE_H_ | 69 #endif // COMPONENTS_SYNC_SESSIONS_OPEN_TABS_UI_DELEGATE_H_ |
OLD | NEW |