blob: f6ca4dd7cd50bd3086919e76f736ea3304afe9c1 [file] [log] [blame]
// 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.
#include "chromeos/components/tether/fake_disconnect_tethering_request_sender.h"
namespace chromeos {
namespace tether {
FakeDisconnectTetheringRequestSender::FakeDisconnectTetheringRequestSender() =
default;
FakeDisconnectTetheringRequestSender::~FakeDisconnectTetheringRequestSender() =
default;
void FakeDisconnectTetheringRequestSender::SendDisconnectRequestToDevice(
const std::string& device_id) {
device_ids_sent_requests_.push_back(device_id);
}
bool FakeDisconnectTetheringRequestSender::HasPendingRequests() {
return has_pending_requests_;
}
void FakeDisconnectTetheringRequestSender::
NotifyPendingDisconnectRequestsComplete() {
DisconnectTetheringRequestSender::NotifyPendingDisconnectRequestsComplete();
}
} // namespace tether
} // namespace chromeos