// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_ASH_COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_
#define CHROMEOS_ASH_COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_
#include <string>
#include "base/functional/callback.h"
#include "chromeos/ash/components/proximity_auth/proximity_auth_client.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace proximity_auth {
// Mock implementation of ProximityAuthClient.
class MockProximityAuthClient : public ProximityAuthClient {
public:
MockProximityAuthClient();
MockProximityAuthClient(const MockProximityAuthClient&) = delete;
MockProximityAuthClient& operator=(const MockProximityAuthClient&) = delete;
~MockProximityAuthClient() override;
// ProximityAuthClient:
MOCK_METHOD1(UpdateSmartLockState, void(ash::SmartLockState state));
MOCK_METHOD1(FinalizeUnlock, void(bool success));
MOCK_METHOD1(FinalizeSignin, void(const std::string& secret));
MOCK_CONST_METHOD0(GetAuthenticatedUsername, std::string(void));
};
} // namespace proximity_auth
#endif // CHROMEOS_ASH_COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_