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_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "components/sessions/session_id.h" | 12 #include "components/sessions/core/session_id.h" |
13 #include "components/sync_driver/sessions/synced_window_delegates_getter.h" | 13 #include "components/sync_driver/sessions/synced_window_delegates_getter.h" |
14 | 14 |
15 class Profile; | 15 class Profile; |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class NavigationEntry; | 18 class NavigationEntry; |
19 class WebContents; | 19 class WebContents; |
20 } | 20 } |
21 | 21 |
22 namespace browser_sync { | 22 namespace browser_sync { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 virtual const SyncedWindowDelegate* GetSyncedWindowDelegate() const; | 87 virtual const SyncedWindowDelegate* GetSyncedWindowDelegate() const; |
88 | 88 |
89 private: | 89 private: |
90 // A getter for accessing the associated SyncedWindowDelegate. | 90 // A getter for accessing the associated SyncedWindowDelegate. |
91 scoped_ptr<SyncedWindowDelegatesGetter> synced_window_getter_; | 91 scoped_ptr<SyncedWindowDelegatesGetter> synced_window_getter_; |
92 }; | 92 }; |
93 | 93 |
94 } // namespace browser_sync | 94 } // namespace browser_sync |
95 | 95 |
96 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ | 96 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ |
OLD | NEW |