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

Side by Side Diff: chrome/browser/ui/sync/browser_synced_window_delegates_getter.h

Issue 1310373009: [Sync] Remove static methods on SyncedWindowDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android compile. Created 5 years, 3 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
OLDNEW
(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_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_
6 #define CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_
7
8 #include <set>
9
10 #include "base/macros.h"
11 #include "chrome/browser/sync/sessions/synced_window_delegates_getter.h"
12 #include "components/sessions/session_id.h"
13
14 namespace browser_sync {
15
16 class SyncedWindowDelegate;
17
18 class BrowserSyncedWindowDelegatesGetter : public SyncedWindowDelegatesGetter {
Nicolas Zea 2015/08/31 22:12:47 Comment about class purpose
maxbogue 2015/09/01 17:29:28 Done.
19 public:
20 BrowserSyncedWindowDelegatesGetter();
Nicolas Zea 2015/08/31 22:12:47 explicit virtual destructor
maxbogue 2015/09/01 17:29:28 Done.
21 std::set<const SyncedWindowDelegate*> GetSyncedWindowDelegates() override;
Nicolas Zea 2015/08/31 22:12:48 newline above and comment that this is implementin
maxbogue 2015/09/01 17:29:28 Done.
22 const SyncedWindowDelegate* FindById(SessionID::id_type id) override;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(BrowserSyncedWindowDelegatesGetter);
26 };
27
28 } // namespace browser_sync
29
30 #endif // CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698