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. 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 }; |
| 23 } // namespace sync_notifier |
| 24 |
| 25 #endif // CHROME_BROWSER_SYNC_NOTIFIER_SYNC_NOTIFIER_FACTORY_H_ |
OLD | NEW |