Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h

Issue 480883002: Move session_id.{cc,h} from chrome/browser/sessions to components/sessions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/sessions/session_id.h"
10 #include "chrome/browser/sync/glue/synced_tab_delegate.h" 9 #include "chrome/browser/sync/glue/synced_tab_delegate.h"
10 #include "components/sessions/session_id.h"
11 #include "content/public/browser/web_contents_user_data.h" 11 #include "content/public/browser/web_contents_user_data.h"
12 12
13 namespace content { 13 namespace content {
14 class WebContents; 14 class WebContents;
15 } 15 }
16 16
17 class TabContentsSyncedTabDelegate 17 class TabContentsSyncedTabDelegate
18 : public browser_sync::SyncedTabDelegate, 18 : public browser_sync::SyncedTabDelegate,
19 public content::WebContentsUserData<TabContentsSyncedTabDelegate> { 19 public content::WebContentsUserData<TabContentsSyncedTabDelegate> {
20 public: 20 public:
(...skipping 24 matching lines...) Expand all
45 explicit TabContentsSyncedTabDelegate(content::WebContents* web_contents); 45 explicit TabContentsSyncedTabDelegate(content::WebContents* web_contents);
46 friend class content::WebContentsUserData<TabContentsSyncedTabDelegate>; 46 friend class content::WebContentsUserData<TabContentsSyncedTabDelegate>;
47 47
48 content::WebContents* web_contents_; 48 content::WebContents* web_contents_;
49 int sync_session_id_; 49 int sync_session_id_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(TabContentsSyncedTabDelegate); 51 DISALLOW_COPY_AND_ASSIGN(TabContentsSyncedTabDelegate);
52 }; 52 };
53 53
54 #endif // CHROME_BROWSER_UI_SYNC_TAB_CONTENTS_SYNCED_TAB_DELEGATE_H_ 54 #endif // CHROME_BROWSER_UI_SYNC_TAB_CONTENTS_SYNCED_TAB_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/sync/browser_synced_window_delegate.cc ('k') | chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698