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

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

Issue 1443453002: [Sync] Move sessions files from sync_driver to sync_sessions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ui/gfx deps. Created 5 years, 1 month 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_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_driver/sessions/synced_window_delegates_getter.h" 11 #include "components/sync_sessions/synced_window_delegates_getter.h"
12 12
13 namespace browser_sync { 13 namespace browser_sync {
14 14
15 class SyncedWindowDelegate; 15 class SyncedWindowDelegate;
16 16
17 // This class defines how to access SyncedWindowDelegates on Android. 17 // This class defines how to access SyncedWindowDelegates on Android.
18 class SyncedWindowDelegatesGetterAndroid : public SyncedWindowDelegatesGetter { 18 class SyncedWindowDelegatesGetterAndroid : public SyncedWindowDelegatesGetter {
19 public: 19 public:
20 SyncedWindowDelegatesGetterAndroid(); 20 SyncedWindowDelegatesGetterAndroid();
21 ~SyncedWindowDelegatesGetterAndroid() override; 21 ~SyncedWindowDelegatesGetterAndroid() override;
22 22
23 // SyncedWindowDelegatesGetter implementation 23 // SyncedWindowDelegatesGetter implementation
24 std::set<const SyncedWindowDelegate*> GetSyncedWindowDelegates() override; 24 std::set<const SyncedWindowDelegate*> GetSyncedWindowDelegates() override;
25 const SyncedWindowDelegate* FindById(SessionID::id_type id) override; 25 const SyncedWindowDelegate* FindById(SessionID::id_type id) override;
26 26
27 private: 27 private:
28 DISALLOW_COPY_AND_ASSIGN(SyncedWindowDelegatesGetterAndroid); 28 DISALLOW_COPY_AND_ASSIGN(SyncedWindowDelegatesGetterAndroid);
29 }; 29 };
30 30
31 } // namespace browser_sync 31 } // namespace browser_sync
32 32
33 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_ 33 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698