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

Unified Diff: chromeos/components/tether/timer_factory.h

Issue 2915833003: Tether: Break helper TimerFactory out of BleConnectionManager and HostScanCache. (Closed)
Patch Set: Add missing files. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/components/tether/timer_factory.h
diff --git a/chromeos/components/tether/timer_factory.h b/chromeos/components/tether/timer_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..561f3f5360b60c8a9c5dffd6a9c1d313aa9a0f5c
--- /dev/null
+++ b/chromeos/components/tether/timer_factory.h
@@ -0,0 +1,29 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROMEOS_COMPONENTS_TETHER_TIMER_FACTORY_H_
+#define CHROMEOS_COMPONENTS_TETHER_TIMER_FACTORY_H_
+
+#include <memory>
+
+#include "base/macros.h"
+#include "base/memory/ptr_util.h"
+#include "base/timer/timer.h"
+
+namespace chromeos {
+
+namespace tether {
+
+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.
+ public:
+ virtual ~TimerFactory();
+
+ virtual std::unique_ptr<base::Timer> CreateOneShotTimer();
+};
+
+} // namespace tether
+
+} // namespace chromeos
+
+#endif // CHROMEOS_COMPONENTS_TETHER_TIMER_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698