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_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_ |
OLD | NEW |