OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 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_NOTIFIER_SYNC_NOTIFIER_FACTORY_H_ | |
6 #define CHROME_BROWSER_SYNC_NOTIFIER_SYNC_NOTIFIER_FACTORY_H_ | |
7 | |
8 class CommandLine; | |
9 | |
10 namespace sync_notifier { | |
11 class SyncNotifier; | |
12 | |
13 // Class to instantiate various implementations of the SyncNotifier interface. | |
14 class SyncNotifierFactory { | |
15 public: | |
16 SyncNotifierFactory() {} | |
17 ~SyncNotifierFactory() {} | |
18 | |
19 // Creates the appropriate sync notifier. | |
akalin
2011/03/11 04:17:14
Add a comment about the caller taking ownership
Agrawal
2011/03/11 21:42:20
Done.
| |
20 SyncNotifier* CreateSyncNotifier(const CommandLine& command_line); | |
21 private: | |
22 }; | |
23 } // namespace sync_notifier | |
24 | |
25 #endif // CHROME_BROWSER_SYNC_NOTIFIER_SYNC_NOTIFIER_FACTORY_H_ | |
OLD | NEW |