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

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

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_ 5 #ifndef CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_
6 #define CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_ 6 #define CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/sessions/session_id.h" 11 #include "components/sessions/core/session_id.h"
12 #include "components/sync_driver/sessions/synced_window_delegates_getter.h" 12 #include "components/sync_driver/sessions/synced_window_delegates_getter.h"
13 13
14 namespace browser_sync { 14 namespace browser_sync {
15 15
16 class SyncedWindowDelegate; 16 class SyncedWindowDelegate;
17 17
18 // This class defines how to access SyncedWindowDelegates on desktop. 18 // This class defines how to access SyncedWindowDelegates on desktop.
19 class BrowserSyncedWindowDelegatesGetter : public SyncedWindowDelegatesGetter { 19 class BrowserSyncedWindowDelegatesGetter : public SyncedWindowDelegatesGetter {
20 public: 20 public:
21 BrowserSyncedWindowDelegatesGetter(); 21 BrowserSyncedWindowDelegatesGetter();
22 ~BrowserSyncedWindowDelegatesGetter() override; 22 ~BrowserSyncedWindowDelegatesGetter() override;
23 23
24 // SyncedWindowDelegatesGetter implementation 24 // SyncedWindowDelegatesGetter implementation
25 std::set<const SyncedWindowDelegate*> GetSyncedWindowDelegates() override; 25 std::set<const SyncedWindowDelegate*> GetSyncedWindowDelegates() override;
26 const SyncedWindowDelegate* FindById(SessionID::id_type id) override; 26 const SyncedWindowDelegate* FindById(SessionID::id_type id) override;
27 27
28 private: 28 private:
29 DISALLOW_COPY_AND_ASSIGN(BrowserSyncedWindowDelegatesGetter); 29 DISALLOW_COPY_AND_ASSIGN(BrowserSyncedWindowDelegatesGetter);
30 }; 30 };
31 31
32 } // namespace browser_sync 32 } // namespace browser_sync
33 33
34 #endif // CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_ 34 #endif // CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/sync/browser_synced_window_delegate.cc ('k') | chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698