blob: 30028175057f081ddc89087d8ff510a9217705d4 [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_METHOD3(GetNetworkTime, void(Error* error,
const StringCallback& callback,
int timeout));
MOCK_METHOD1(set_network_time_changed_callback,
void(const NetworkTimeChangedSignalCallback& callback));
private:
DISALLOW_COPY_AND_ASSIGN(MockModemTimeProxy);
};
} // namespace mm1
} // namespace shill
#endif // SHILL_CELLULAR_MOCK_MM1_MODEM_TIME_PROXY_H_