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 "chrome/browser/sessions/session_id.h" | 11 #include "components/sessions/session_id.h" |
12 | 12 |
13 class Profile; | 13 class Profile; |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 class NavigationEntry; | 16 class NavigationEntry; |
17 class WebContents; | 17 class WebContents; |
18 } | 18 } |
19 | 19 |
20 namespace browser_sync { | 20 namespace browser_sync { |
21 | 21 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual int GetSyncId() const = 0; | 59 virtual int GetSyncId() const = 0; |
60 virtual void SetSyncId(int sync_id) = 0; | 60 virtual void SetSyncId(int sync_id) = 0; |
61 // Returns the SyncedTabDelegate associated with WebContents. | 61 // Returns the SyncedTabDelegate associated with WebContents. |
62 static SyncedTabDelegate* ImplFromWebContents( | 62 static SyncedTabDelegate* ImplFromWebContents( |
63 content::WebContents* web_contents); | 63 content::WebContents* web_contents); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace browser_sync | 66 } // namespace browser_sync |
67 | 67 |
68 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ | 68 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ |
OLD | NEW |