mukesh agrawal | ae30e9e | 2013-05-28 14:09:16 -0700 | [diff] [blame] | 1 | // Copyright (c) 2013 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_external_task.h" |
| 6 | |
| 7 | namespace shill { |
| 8 | |
| 9 | MockExternalTask::MockExternalTask( |
| 10 | ControlInterface *control, |
| 11 | GLib *glib, |
| 12 | const base::WeakPtr<RPCTaskDelegate> &task_delegate, |
| 13 | const base::Callback<void(pid_t, int)> &death_callback) |
| 14 | : ExternalTask(control, glib, task_delegate, death_callback) {} |
| 15 | |
| 16 | MockExternalTask::~MockExternalTask() { |
| 17 | OnDelete(); |
| 18 | } |
| 19 | |
| 20 | } // namespace shill |