David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [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/mock_cellular.h" |
| 6 | |
| 7 | namespace 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 | |
| 12 | MockCellular::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 Glasgow | a585fc3 | 2012-06-06 11:04:09 -0400 | [diff] [blame] | 21 | const std::string &service, |
David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 22 | const std::string &path, |
Ben Chan | 3ecdf82 | 2012-08-06 12:29:23 -0700 | [diff] [blame] | 23 | mobile_provider_db *provider_db, |
| 24 | ProxyFactory *proxy_factory) |
David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 25 | : Cellular(control_interface, dispatcher, metrics, manager, link_name, |
Jason Glasgow | a585fc3 | 2012-06-06 11:04:09 -0400 | [diff] [blame] | 26 | address, interface_index, type, owner, service, path, |
Ben Chan | 3ecdf82 | 2012-08-06 12:29:23 -0700 | [diff] [blame] | 27 | provider_db, proxy_factory) {} |
David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 28 | |
| 29 | MockCellular::~MockCellular() {} |
| 30 | |
| 31 | } // namespace shill |