blob: cd580f8a8dee528b71677b6a5788d862aeebf02a [file] [log] [blame]
Chris Masoned7732e42011-05-20 11:08:56 -07001// 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 "shill/mock_adaptors.h"
6#include "shill/mock_control.h"
7
8namespace shill {
9
10ManagerAdaptorInterface *MockControl::CreateManagerAdaptor(Manager *manager) {
11 return new ManagerMockAdaptor();
12}
13
14ServiceAdaptorInterface *MockControl::CreateServiceAdaptor(Service *service) {
15 return new ServiceMockAdaptor();
16}
17
18DeviceAdaptorInterface *MockControl::CreateDeviceAdaptor(Device *device) {
19 return new DeviceMockAdaptor();
20}
21
22} // namespace shill