OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromeos/network/network_profile_handler.h" | 5 #include "chromeos/network/network_profile_handler.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "chromeos/dbus/dbus_thread_manager.h" | 12 #include "chromeos/dbus/dbus_thread_manager.h" |
13 #include "chromeos/dbus/shill_manager_client.h" | 13 #include "chromeos/dbus/shill_manager_client.h" |
14 #include "chromeos/dbus/shill_profile_client.h" | 14 #include "chromeos/dbus/shill_profile_client.h" |
15 #include "chromeos/network/network_profile_observer.h" | 15 #include "chromeos/network/network_profile_observer.h" |
16 #include "dbus/object_path.h" | 16 #include "dbus/object_path.h" |
17 #include "third_party/cros_system_api/dbus/service_constants.h" | 17 #include "third_party/cros_system_api/dbus/service_constants.h" |
18 | 18 |
19 namespace chromeos { | 19 namespace chromeos { |
20 | 20 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 base::Bind(&NetworkProfileHandler::GetManagerPropertiesCallback, | 189 base::Bind(&NetworkProfileHandler::GetManagerPropertiesCallback, |
190 weak_ptr_factory_.GetWeakPtr())); | 190 weak_ptr_factory_.GetWeakPtr())); |
191 } | 191 } |
192 | 192 |
193 NetworkProfileHandler::~NetworkProfileHandler() { | 193 NetworkProfileHandler::~NetworkProfileHandler() { |
194 DBusThreadManager::Get()->GetShillManagerClient()-> | 194 DBusThreadManager::Get()->GetShillManagerClient()-> |
195 RemovePropertyChangedObserver(this); | 195 RemovePropertyChangedObserver(this); |
196 } | 196 } |
197 | 197 |
198 } // namespace chromeos | 198 } // namespace chromeos |
OLD | NEW |