OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/sync/sessions/synced_window_delegates_getter.h" | 5 #include "chrome/browser/sync/sessions/synced_window_delegates_getter.h" |
6 | 6 |
7 #include "chrome/browser/sync/glue/synced_window_delegate.h" | |
8 | |
9 namespace browser_sync { | 7 namespace browser_sync { |
10 | 8 |
11 SyncedWindowDelegatesGetter::SyncedWindowDelegatesGetter() {} | 9 SyncedWindowDelegatesGetter::SyncedWindowDelegatesGetter() {} |
12 | 10 |
13 SyncedWindowDelegatesGetter::~SyncedWindowDelegatesGetter() {} | 11 SyncedWindowDelegatesGetter::~SyncedWindowDelegatesGetter() {} |
14 | 12 |
15 std::set<const SyncedWindowDelegate*> | |
16 SyncedWindowDelegatesGetter::GetSyncedWindowDelegates() { | |
17 return SyncedWindowDelegate::GetAll(); | |
18 } | |
19 | |
20 } // namespace browser_sync | 13 } // namespace browser_sync |
OLD | NEW |