blob: cd580f8a8dee528b71677b6a5788d862aeebf02a [file] [log] [blame]
// Copyright (c) 2011 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.
#include "shill/mock_adaptors.h"
#include "shill/mock_control.h"
namespace shill {
ManagerAdaptorInterface *MockControl::CreateManagerAdaptor(Manager *manager) {
return new ManagerMockAdaptor();
}
ServiceAdaptorInterface *MockControl::CreateServiceAdaptor(Service *service) {
return new ServiceMockAdaptor();
}
DeviceAdaptorInterface *MockControl::CreateDeviceAdaptor(Device *device) {
return new DeviceMockAdaptor();
}
} // namespace shill