blob: 43ee0b7edb13224062cff67baf2524c4ed176f4d [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_VPN_ARC_VPN_DRIVER_H_
#define SHILL_VPN_ARC_VPN_DRIVER_H_
#include <string>
#include <base/callback.h>
#include <gtest/gtest_prod.h>
#include "shill/device_info.h"
#include "shill/error.h"
#include "shill/ipconfig.h"
#include "shill/refptr_types.h"
#include "shill/service.h"
#include "shill/virtual_device.h"
#include "shill/vpn/vpn_driver.h"
namespace shill {
class ArcVpnDriver : public VPNDriver {
public:
ArcVpnDriver(Manager* manager, ProcessManager* process_manager);
ArcVpnDriver(const ArcVpnDriver&) = delete;
ArcVpnDriver& operator=(const ArcVpnDriver&) = delete;
~ArcVpnDriver() override = default;
std::string GetProviderType() const override;
IfType GetIfType() const override;
void ConnectAsync(const VPNService::DriverEventCallback& callback) override;
void Disconnect() override;
IPConfig::Properties GetIPProperties() const override;
private:
friend class ArcVpnDriverTest;
static const Property kProperties[];
};
} // namespace shill
#endif // SHILL_VPN_ARC_VPN_DRIVER_H_