blob: 2d65b0cdeaf2b3b962e5affc1ebd8928075ddb05 [file] [log] [blame]
// Copyright (c) 2012 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_PROVIDER_
#define SHILL_VPN_PROVIDER_
#include <base/basictypes.h>
#include "shill/refptr_types.h"
namespace shill {
class ControlInterface;
class Error;
class EventDispatcher;
class KeyValueStore;
class Manager;
class Metrics;
class VPNProvider {
public:
VPNProvider(ControlInterface *control_interface,
EventDispatcher *dispatcher,
Metrics *metrics,
Manager *manager);
~VPNProvider();
void Start();
void Stop();
VPNServiceRefPtr GetService(const KeyValueStore &args, Error *error);
private:
ControlInterface *control_interface_;
EventDispatcher *dispatcher_;
Metrics *metrics_;
Manager *manager_;
DISALLOW_COPY_AND_ASSIGN(VPNProvider);
};
} // namespace shill
#endif // SHILL_VPN_PROVIDER_