blob: c631a8c1087af3bce612d7305a13bd62d7ce5d59 [file] [log] [blame]
David Rochbergfa1d31d2012-03-20 10:38:07 -04001// 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/mock_cellular.h"
6
7namespace shill {
8
9// TODO(rochberg): The cellular constructor does work. Ought to fix
10// this so that we don't depend on passing real values in for Type.
11
12MockCellular::MockCellular(ControlInterface *control_interface,
13 EventDispatcher *dispatcher,
14 Metrics *metrics,
15 Manager *manager,
16 const std::string &link_name,
17 const std::string &address,
18 int interface_index,
19 Type type,
20 const std::string &owner,
Jason Glasgowa585fc32012-06-06 11:04:09 -040021 const std::string &service,
David Rochbergfa1d31d2012-03-20 10:38:07 -040022 const std::string &path,
Ben Chan3ecdf822012-08-06 12:29:23 -070023 mobile_provider_db *provider_db,
24 ProxyFactory *proxy_factory)
David Rochbergfa1d31d2012-03-20 10:38:07 -040025 : Cellular(control_interface, dispatcher, metrics, manager, link_name,
Jason Glasgowa585fc32012-06-06 11:04:09 -040026 address, interface_index, type, owner, service, path,
Ben Chan3ecdf822012-08-06 12:29:23 -070027 provider_db, proxy_factory) {}
David Rochbergfa1d31d2012-03-20 10:38:07 -040028
29MockCellular::~MockCellular() {}
30
31} // namespace shill