OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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 CHROMEOS_COMPONENTS_TETHER_TIMER_FACTORY_H_ | |
6 #define CHROMEOS_COMPONENTS_TETHER_TIMER_FACTORY_H_ | |
7 | |
8 #include <memory> | |
9 | |
10 #include "base/macros.h" | |
11 #include "base/memory/ptr_util.h" | |
12 #include "base/timer/timer.h" | |
13 | |
14 namespace chromeos { | |
15 | |
16 namespace tether { | |
17 | |
18 class TimerFactory { | |
khorimoto
2017/05/31 18:13:28
Add description, noting that this is used for depe
Ryan Hansberry
2017/05/31 18:24:54
Done.
| |
19 public: | |
20 virtual ~TimerFactory(); | |
21 | |
22 virtual std::unique_ptr<base::Timer> CreateOneShotTimer(); | |
23 }; | |
24 | |
25 } // namespace tether | |
26 | |
27 } // namespace chromeos | |
28 | |
29 #endif // CHROMEOS_COMPONENTS_TETHER_TIMER_FACTORY_H_ | |
OLD | NEW |