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

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

Issue 2915833003: Tether: Break helper TimerFactory out of BleConnectionManager and HostScanCache. (Closed)
Patch Set: khorimoto@ comments. 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/host_scan_cache.h
diff --git a/chromeos/components/tether/host_scan_cache.h b/chromeos/components/tether/host_scan_cache.h
index d3ab465f869cea1b7f0779ab50469a7ce4d237f4..3d705e48887befdade932759600fb22c07be863b 100644
--- a/chromeos/components/tether/host_scan_cache.h
+++ b/chromeos/components/tether/host_scan_cache.h
@@ -22,6 +22,7 @@ namespace tether {
class ActiveHost;
class DeviceIdTetherNetworkGuidMap;
class TetherHostResponseRecorder;
+class TimerFactory;
// Caches scan results and inserts them into the network stack.
class HostScanCache : public TetherHostResponseRecorder::Observer {
@@ -76,11 +77,6 @@ class HostScanCache : public TetherHostResponseRecorder::Observer {
// TetherHostResponseRecorder::Observer:
void OnPreviouslyConnectedHostIdsChanged() override;
- class TimerFactory {
- public:
- virtual std::unique_ptr<base::Timer> CreateOneShotTimer() = 0;
- };
-
private:
friend class HostScanCacheTest;
« no previous file with comments | « chromeos/components/tether/fake_ble_connection_manager.cc ('k') | chromeos/components/tether/host_scan_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698