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

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

Issue 10701030: Refactor SyncedWindowDelegateAndroid into TabModel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated file names, made requested changes. Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_DELEGATE_REGISTRY_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_REGISTRY_H_
7
8 #include <set>
9
10 namespace browser_sync {
11
12 class SyncedWindowDelegate;
13
14 // A location to register SyncedWindowDelegates such that Android can provide
15 // pseudo-browsers for the purposes of Sync without having a dependency from
16 // sync onto Android's model of a browser.
17 class SyncedWindowDelegateRegistry {
18 public:
19 static const std::set<SyncedWindowDelegate*>& GetSyncedWindowDelegates();
20 static void Register(SyncedWindowDelegate* delegate);
21 static void Unregister(SyncedWindowDelegate* delegate);
22 };
23
24 } // namespace browser_sync
25
26 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_REGISTRY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698