Chris Masone | 95207da | 2011-06-29 16:50:49 -0700 | [diff] [blame] | 1 | // Copyright (c) 2011 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 <string> |
| 6 | |
| 7 | #include "shill/mock_adaptors.h" |
| 8 | |
| 9 | namespace shill { |
| 10 | |
| 11 | // static |
Chris Masone | c6c6c13 | 2011-06-30 11:29:52 -0700 | [diff] [blame^] | 12 | const char DeviceMockAdaptor::kRpcId[] = "device-rpc"; |
| 13 | |
| 14 | DeviceMockAdaptor::DeviceMockAdaptor() : rpc_id(kRpcId) {} |
| 15 | |
| 16 | DeviceMockAdaptor::~DeviceMockAdaptor() {} |
| 17 | |
| 18 | const std::string &DeviceMockAdaptor::GetRpcIdentifier() { return rpc_id; } |
| 19 | |
| 20 | // static |
| 21 | const char IPConfigMockAdaptor::kRpcId[] = "ipconfig-rpc"; |
| 22 | |
| 23 | IPConfigMockAdaptor::IPConfigMockAdaptor() : rpc_id(kRpcId) {} |
| 24 | |
| 25 | IPConfigMockAdaptor::~IPConfigMockAdaptor() {} |
| 26 | |
| 27 | const std::string &IPConfigMockAdaptor::GetRpcIdentifier() { return rpc_id; } |
| 28 | |
| 29 | // static |
Chris Masone | 95207da | 2011-06-29 16:50:49 -0700 | [diff] [blame] | 30 | const char ManagerMockAdaptor::kRpcId[] = "manager-rpc"; |
| 31 | |
| 32 | ManagerMockAdaptor::ManagerMockAdaptor() : rpc_id(kRpcId) {} |
| 33 | |
| 34 | ManagerMockAdaptor::~ManagerMockAdaptor() {} |
| 35 | |
| 36 | const std::string &ManagerMockAdaptor::GetRpcIdentifier() { return rpc_id; } |
| 37 | |
| 38 | // static |
Chris Masone | c6c6c13 | 2011-06-30 11:29:52 -0700 | [diff] [blame^] | 39 | const char ProfileMockAdaptor::kRpcId[] = "profile-rpc"; |
| 40 | |
| 41 | ProfileMockAdaptor::ProfileMockAdaptor() : rpc_id(kRpcId) {} |
| 42 | |
| 43 | ProfileMockAdaptor::~ProfileMockAdaptor() {} |
| 44 | |
| 45 | const std::string &ProfileMockAdaptor::GetRpcIdentifier() { return rpc_id; } |
| 46 | |
| 47 | // static |
Chris Masone | 95207da | 2011-06-29 16:50:49 -0700 | [diff] [blame] | 48 | const char ServiceMockAdaptor::kRpcId[] = "service-rpc"; |
| 49 | |
| 50 | ServiceMockAdaptor::ServiceMockAdaptor() : rpc_id(kRpcId) {} |
| 51 | |
| 52 | ServiceMockAdaptor::~ServiceMockAdaptor() {} |
| 53 | |
| 54 | const std::string &ServiceMockAdaptor::GetRpcIdentifier() { return rpc_id; } |
Chris Masone | 95207da | 2011-06-29 16:50:49 -0700 | [diff] [blame] | 55 | } // namespace shill |