| 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_UI_SYNC_TAB_CONTENTS_SYNCED_TAB_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_SYNC_TAB_CONTENTS_SYNCED_TAB_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_SYNC_TAB_CONTENTS_SYNCED_TAB_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_SYNC_TAB_CONTENTS_SYNCED_TAB_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include <string> | 9 #include <string> |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "components/sessions/core/session_id.h" | 14 #include "components/sessions/core/session_id.h" |
| 14 #include "components/sync_sessions/synced_tab_delegate.h" | 15 #include "components/sync_sessions/synced_tab_delegate.h" |
| 15 #include "content/public/browser/web_contents_user_data.h" | 16 #include "content/public/browser/web_contents_user_data.h" |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 explicit TabContentsSyncedTabDelegate(content::WebContents* web_contents); | 51 explicit TabContentsSyncedTabDelegate(content::WebContents* web_contents); |
| 51 friend class content::WebContentsUserData<TabContentsSyncedTabDelegate>; | 52 friend class content::WebContentsUserData<TabContentsSyncedTabDelegate>; |
| 52 | 53 |
| 53 content::WebContents* web_contents_; | 54 content::WebContents* web_contents_; |
| 54 int sync_session_id_; | 55 int sync_session_id_; |
| 55 | 56 |
| 56 DISALLOW_COPY_AND_ASSIGN(TabContentsSyncedTabDelegate); | 57 DISALLOW_COPY_AND_ASSIGN(TabContentsSyncedTabDelegate); |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 #endif // CHROME_BROWSER_UI_SYNC_TAB_CONTENTS_SYNCED_TAB_DELEGATE_H_ | 60 #endif // CHROME_BROWSER_UI_SYNC_TAB_CONTENTS_SYNCED_TAB_DELEGATE_H_ |
| OLD | NEW |