| Index: chromeos/components/tether/mock_host_connection_metrics_logger.h
|
| diff --git a/chromeos/components/tether/mock_host_connection_metrics_logger.h b/chromeos/components/tether/mock_host_connection_metrics_logger.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..569c05fffcb2294f57acc622d668e642aa13db5c
|
| --- /dev/null
|
| +++ b/chromeos/components/tether/mock_host_connection_metrics_logger.h
|
| @@ -0,0 +1,31 @@
|
| +// 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_MOCK_HOST_CONNECTION_METRICS_LOGGER_H_
|
| +#define CHROMEOS_COMPONENTS_TETHER_MOCK_HOST_CONNECTION_METRICS_LOGGER_H_
|
| +
|
| +#include "chromeos/components/tether/host_connection_metrics_logger.h"
|
| +#include "testing/gmock/include/gmock/gmock.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +namespace tether {
|
| +
|
| +class MockHostConnectionMetricsLogger : public HostConnectionMetricsLogger {
|
| + public:
|
| + MockHostConnectionMetricsLogger();
|
| + ~MockHostConnectionMetricsLogger() override;
|
| +
|
| + MOCK_METHOD1(RecordConnectionToHostResult,
|
| + void(HostConnectionMetricsLogger::ConnectionToHostResult));
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(MockHostConnectionMetricsLogger);
|
| +};
|
| +
|
| +} // namespace tether
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROMEOS_COMPONENTS_TETHER_MOCK_HOST_CONNECTION_METRICS_LOGGER_H_
|
|
|