Chromium Code Reviews| 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() {} | |
|
akalin
2011/03/11 22:27:44
move constructor/destructor bodies to .cc file
Agrawal
2011/03/11 22:54:27
Done.
| |
| 17 ~SyncNotifierFactory() {} | |
| 18 | |
| 19 // Creates the appropriate sync notifier. The caller should take ownership | |
| 20 // of the object returned and delete it when no longer used. | |
| 21 SyncNotifier* CreateSyncNotifier(const CommandLine& command_line); | |
| 22 private: | |
|
akalin
2011/03/11 22:27:44
no need for this line
Agrawal
2011/03/11 22:54:27
Done.
| |
| 23 }; | |
| 24 } // namespace sync_notifier | |
| 25 | |
| 26 #endif // CHROME_BROWSER_SYNC_NOTIFIER_SYNC_NOTIFIER_FACTORY_H_ | |
| OLD | NEW |