blob: 2dbd11c3b121440850924d190d245db89519ae0c [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.
#include "shill/vpn/mock_vpn_driver.h"
namespace shill {
MockVPNDriver::MockVPNDriver()
: VPNDriver(nullptr, nullptr, nullptr, 0), if_type_(kUnknown) {}
MockVPNDriver::~MockVPNDriver() = default;
VPNDriver::IfType MockVPNDriver::GetIfType() const {
return if_type_;
}
void MockVPNDriver::SetIfType(IfType type) {
if_type_ = type;
}
} // namespace shill