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

Side by Side Diff: chrome/browser/sync/glue/synced_window_delegates_getter_android.h

Issue 2712743006: Reland v5 of Sessions Refactor (Closed)
Patch Set: Fix typo Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/sync/glue/synced_window_delegates_getter_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/sync_sessions/synced_window_delegates_getter.h" 11 #include "components/sync_sessions/synced_window_delegates_getter.h"
12 12
13 namespace sync_sessions { 13 namespace sync_sessions {
14 class SyncedWindowDelegate; 14 class SyncedWindowDelegate;
15 } 15 }
16 16
17 namespace browser_sync { 17 namespace browser_sync {
18 18
19 // This class defines how to access SyncedWindowDelegates on Android. 19 // This class defines how to access SyncedWindowDelegates on Android.
20 class SyncedWindowDelegatesGetterAndroid 20 class SyncedWindowDelegatesGetterAndroid
21 : public sync_sessions::SyncedWindowDelegatesGetter { 21 : public sync_sessions::SyncedWindowDelegatesGetter {
22 public: 22 public:
23 SyncedWindowDelegatesGetterAndroid(); 23 SyncedWindowDelegatesGetterAndroid();
24 ~SyncedWindowDelegatesGetterAndroid() override; 24 ~SyncedWindowDelegatesGetterAndroid() override;
25 25
26 // SyncedWindowDelegatesGetter implementation 26 // SyncedWindowDelegatesGetter implementation
27 std::set<const sync_sessions::SyncedWindowDelegate*> 27 SyncedWindowDelegateMap GetSyncedWindowDelegates() override;
28 GetSyncedWindowDelegates() override;
29 const sync_sessions::SyncedWindowDelegate* FindById( 28 const sync_sessions::SyncedWindowDelegate* FindById(
30 SessionID::id_type id) override; 29 SessionID::id_type id) override;
31 30
32 private: 31 private:
33 DISALLOW_COPY_AND_ASSIGN(SyncedWindowDelegatesGetterAndroid); 32 DISALLOW_COPY_AND_ASSIGN(SyncedWindowDelegatesGetterAndroid);
34 }; 33 };
35 34
36 } // namespace browser_sync 35 } // namespace browser_sync
37 36
38 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_ 37 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/glue/synced_window_delegates_getter_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698