blob: 6da714c36798c1ff9b0336350cf51c4e09d6dad9 [file] [log] [blame]
// Copyright 2018 The Chromium OS 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 SHILL_CELLULAR_MOCK_MM1_MODEM_TIME_PROXY_H_
#define SHILL_CELLULAR_MOCK_MM1_MODEM_TIME_PROXY_H_
#include <base/macros.h>
#include <gmock/gmock.h>
#include "shill/cellular/mm1_modem_time_proxy_interface.h"
namespace shill {
namespace mm1 {
class MockModemTimeProxy : public ModemTimeProxyInterface {
public:
MockModemTimeProxy();
~MockModemTimeProxy() override;
// Inherited methods from ModemTimeProxyInterface.
MOCK_METHOD(void,
GetNetworkTime,
(Error*, const StringCallback&, int),
(override));
MOCK_METHOD(void,
set_network_time_changed_callback,
(const NetworkTimeChangedSignalCallback&),
(override));
private:
DISALLOW_COPY_AND_ASSIGN(MockModemTimeProxy);
};
} // namespace mm1
} // namespace shill
#endif // SHILL_CELLULAR_MOCK_MM1_MODEM_TIME_PROXY_H_