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

Side by Side Diff: chromeos/components/tether/mock_host_connection_metrics_logger.h

Issue 2949343002: Tether: record each type of host connection result. (Closed)
Patch Set: Fix crash. Created 3 years, 5 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 unified diff | Download patch
OLDNEW
(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_MOCK_HOST_CONNECTION_METRICS_LOGGER_H_
6 #define CHROMEOS_COMPONENTS_TETHER_MOCK_HOST_CONNECTION_METRICS_LOGGER_H_
7
8 #include "chromeos/components/tether/host_connection_metrics_logger.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10
11 namespace chromeos {
12
13 namespace tether {
14
15 class MockHostConnectionMetricsLogger : public HostConnectionMetricsLogger {
16 public:
17 MockHostConnectionMetricsLogger();
18 ~MockHostConnectionMetricsLogger() override;
19
20 MOCK_METHOD1(RecordConnectionToHostResult,
21 void(HostConnectionMetricsLogger::ConnectionToHostResult));
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(MockHostConnectionMetricsLogger);
25 };
26
27 } // namespace tether
28
29 } // namespace chromeos
30
31 #endif // CHROMEOS_COMPONENTS_TETHER_MOCK_HOST_CONNECTION_METRICS_LOGGER_H_
OLDNEW
« no previous file with comments | « chromeos/components/tether/initializer.cc ('k') | chromeos/components/tether/mock_host_connection_metrics_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698