Chromium Code Reviews| Index: chrome/browser/sync/glue/synced_window_delegates_getter_android.h |
| diff --git a/chrome/browser/sync/glue/synced_window_delegates_getter_android.h b/chrome/browser/sync/glue/synced_window_delegates_getter_android.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..00c17849cd7d15b020f635c470d23f40515a80ad |
| --- /dev/null |
| +++ b/chrome/browser/sync/glue/synced_window_delegates_getter_android.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_ |
| +#define CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_ |
| + |
| +#include <set> |
| + |
| +#include "base/macros.h" |
| +#include "chrome/browser/sync/sessions/synced_window_delegates_getter.h" |
| + |
| +namespace browser_sync { |
| + |
| +class SyncedWindowDelegate; |
| + |
| +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.
|
| + public: |
| + SyncedWindowDelegatesGetterAndroid(); |
|
Nicolas Zea
2015/08/31 22:12:47
Needs a virtual destructor.
maxbogue
2015/09/01 17:29:27
Done.
|
| + 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.
|
| + const SyncedWindowDelegate* FindById(SessionID::id_type id) override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(SyncedWindowDelegatesGetterAndroid); |
| +}; |
| + |
| +} // namespace browser_sync |
| + |
| +#endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATES_GETTER_ANDROID_H_ |