#include "components/policy/test_support/remote_commands_state.h"
#include "base/logging.h"
#include "components/policy/proto/device_management_backend.pb.h"
em;
namespace policy {
const int64_t kInitId = …;
const int kCommandIdMaxDistance = …;
RemoteCommandsState::RemoteCommandsState()
: … { … }
RemoteCommandsState::~RemoteCommandsState() = default;
void RemoteCommandsState::AddObserver(Observer* observer) { … }
void RemoteCommandsState::RemoveObserver(Observer* observer) { … }
void RemoteCommandsState::ResetState() { … }
int64_t RemoteCommandsState::AddPendingRemoteCommand(
const em::RemoteCommand& command) { … }
void RemoteCommandsState::AddRemoteCommandResult(
const em::RemoteCommandResult& result) { … }
void RemoteCommandsState::AddRemoteCommandAcked(const int64_t command_id) { … }
std::vector<em::RemoteCommand>
RemoteCommandsState::ExtractPendingRemoteCommands() { … }
bool RemoteCommandsState::GetRemoteCommandResult(
int64_t id,
em::RemoteCommandResult* result) { … }
bool RemoteCommandsState::IsRemoteCommandResultAvailable(int64_t id) { … }
bool RemoteCommandsState::IsRemoteCommandAcked(int64_t id) { … }
void RemoteCommandsState::SetCurrentIdForTesting(int64_t id) { … }
}