Darin Petkov | 33af05c | 2012-02-28 10:10:30 +0100 | [diff] [blame^] | 1 | // Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "shill/vpn_service.h" |
| 6 | |
| 7 | #include <base/logging.h> |
| 8 | |
| 9 | #include "shill/technology.h" |
| 10 | #include "shill/vpn_driver.h" |
| 11 | |
| 12 | using std::string; |
| 13 | |
| 14 | namespace shill { |
| 15 | |
| 16 | VPNService::VPNService(ControlInterface *control_interface, |
| 17 | EventDispatcher *dispatcher, |
| 18 | Metrics *metrics, |
| 19 | Manager *manager, |
| 20 | VPNDriver *driver) |
| 21 | : Service(control_interface, dispatcher, metrics, manager, |
| 22 | Technology::kVPN), |
| 23 | driver_(driver) {} |
| 24 | |
| 25 | VPNService::~VPNService() {} |
| 26 | |
| 27 | void VPNService::Connect(Error *error) { |
| 28 | NOTIMPLEMENTED(); |
| 29 | error->Populate(Error::kNotSupported); |
| 30 | } |
| 31 | |
| 32 | string VPNService::GetStorageIdentifier() const { |
| 33 | NOTIMPLEMENTED(); |
| 34 | return ""; |
| 35 | } |
| 36 | |
| 37 | string VPNService::GetDeviceRpcId(Error *error) { |
| 38 | NOTIMPLEMENTED(); |
| 39 | error->Populate(Error::kNotSupported); |
| 40 | return "/"; |
| 41 | } |
| 42 | |
| 43 | } // namespace shill |