Chris Masone | 7aa5f90 | 2011-07-11 11:13:35 -0700 | [diff] [blame] | 1 | // 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/ephemeral_profile.h" |
| 6 | |
| 7 | #include <string> |
| 8 | #include <map> |
| 9 | |
| 10 | #include <chromeos/dbus/service_constants.h> |
| 11 | |
| 12 | #include "shill/adaptor_interfaces.h" |
| 13 | #include "shill/control_interface.h" |
Chris Masone | 7aa5f90 | 2011-07-11 11:13:35 -0700 | [diff] [blame] | 14 | #include "shill/manager.h" |
| 15 | |
| 16 | using std::map; |
| 17 | using std::string; |
| 18 | |
| 19 | namespace shill { |
| 20 | |
| 21 | EphemeralProfile::EphemeralProfile(ControlInterface *control_interface, |
| 22 | GLib *glib, |
| 23 | Manager *manager) |
Chris Masone | 2ae797d | 2011-08-23 20:41:00 -0700 | [diff] [blame] | 24 | : Profile(control_interface, glib, manager, Identifier(), "", false) { |
Chris Masone | 7aa5f90 | 2011-07-11 11:13:35 -0700 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | EphemeralProfile::~EphemeralProfile() {} |
| 28 | |
Chris Masone | 6791a43 | 2011-07-12 13:23:19 -0700 | [diff] [blame] | 29 | void EphemeralProfile::Finalize() { |
Paul Stewart | ac4ac00 | 2011-08-26 12:04:26 -0700 | [diff] [blame^] | 30 | services()->clear(); |
Chris Masone | 7aa5f90 | 2011-07-11 11:13:35 -0700 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | } // namespace shill |