Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_ | |
| 6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_ | |
| 7 | |
| 8 #include <set> | |
| 9 | |
| 10 #include "base/macros.h" | |
| 11 #include "chrome/browser/sync/sessions/synced_window_delegates_getter.h" | |
| 12 | |
| 13 namespace browser_sync { | |
| 14 | |
| 15 class SyncedWindowDelegate; | |
| 16 | |
| 17 class SyncedWindowDelegatesGetterAndroid : public SyncedWindowDelegatesGetter { | |
|
Nicolas Zea
2015/08/31 22:12:47
Add comment describing purpose of class.
maxbogue
2015/09/01 17:29:27
Done.
| |
| 18 public: | |
| 19 SyncedWindowDelegatesGetterAndroid(); | |
|
Nicolas Zea
2015/08/31 22:12:47
Needs a virtual destructor.
maxbogue
2015/09/01 17:29:27
Done.
| |
| 20 std::set<const SyncedWindowDelegate*> GetSyncedWindowDelegates() override; | |
|
Nicolas Zea
2015/08/31 22:12:47
nit: newline above. Also, for consistency/clarity
maxbogue
2015/09/01 17:29:27
Done.
| |
| 21 const SyncedWindowDelegate* FindById(SessionID::id_type id) override; | |
| 22 | |
| 23 private: | |
| 24 DISALLOW_COPY_AND_ASSIGN(SyncedWindowDelegatesGetterAndroid); | |
| 25 }; | |
| 26 | |
| 27 } // namespace browser_sync | |
| 28 | |
| 29 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_ | |
| OLD | NEW |