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

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

Issue 2801353002: [CrOS Tether] Fill out the Initializer class. Tether will now initialize fully once the flag is ena… (Closed)
Patch Set: Added missing dep. Created 3 years, 8 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_scanner.h
diff --git a/chromeos/components/tether/host_scanner.h b/chromeos/components/tether/host_scanner.h
index e2a3e94bb74acaab1f0f40d63f89f5abfdeaae92..fab81641d10a9fb93280696dab90b64e97c5fd14 100644
--- a/chromeos/components/tether/host_scanner.h
+++ b/chromeos/components/tether/host_scanner.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMEOS_COMPONENTS_TETHER_HOST_SCANNER_H
-#define CHROMEOS_COMPONENTS_TETHER_HOST_SCANNER_H
+#ifndef CHROMEOS_COMPONENTS_TETHER_HOST_SCANNER_H_
+#define CHROMEOS_COMPONENTS_TETHER_HOST_SCANNER_H_
#include <vector>
@@ -25,7 +25,6 @@ class TetherHostFetcher;
// TODO(khorimoto): Add some sort of "staleness" timeout which removes scan
// results which occurred long enough ago that they are no
// longer valid.
-// TODO(hansberry): Implement handling for scan results.
class HostScanner : public HostScannerOperation::Observer {
public:
HostScanner(TetherHostFetcher* tether_host_fetcher,
@@ -54,6 +53,7 @@ class HostScanner : public HostScannerOperation::Observer {
private:
friend class HostScannerTest;
+ friend class HostScanSchedulerTest;
void OnTetherHostsFetched(const cryptauth::RemoteDeviceList& tether_hosts);
@@ -77,4 +77,4 @@ class HostScanner : public HostScannerOperation::Observer {
} // namespace chromeos
-#endif // CHROMEOS_COMPONENTS_TETHER_HOST_SCANNER_H
+#endif // CHROMEOS_COMPONENTS_TETHER_HOST_SCANNER_H_
« no previous file with comments | « chromeos/components/tether/fake_tether_host_fetcher.cc ('k') | chromeos/components/tether/host_scanner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698