| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stddef.h> |
| 6 |
| 5 #include <map> | 7 #include <map> |
| 6 #include <set> | 8 #include <set> |
| 7 | 9 |
| 8 #include "base/bind.h" | 10 #include "base/bind.h" |
| 9 #include "base/json/json_writer.h" | 11 #include "base/json/json_writer.h" |
| 10 #include "base/location.h" | 12 #include "base/location.h" |
| 13 #include "base/macros.h" |
| 11 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
| 12 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 13 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
| 14 #include "base/strings/string_piece.h" | 17 #include "base/strings/string_piece.h" |
| 15 #include "base/values.h" | 18 #include "base/values.h" |
| 16 #include "chromeos/dbus/dbus_thread_manager.h" | 19 #include "chromeos/dbus/dbus_thread_manager.h" |
| 17 #include "chromeos/dbus/mock_shill_manager_client.h" | 20 #include "chromeos/dbus/mock_shill_manager_client.h" |
| 18 #include "chromeos/dbus/mock_shill_profile_client.h" | 21 #include "chromeos/dbus/mock_shill_profile_client.h" |
| 19 #include "chromeos/dbus/mock_shill_service_client.h" | 22 #include "chromeos/dbus/mock_shill_service_client.h" |
| 20 #include "chromeos/network/network_configuration_handler.h" | 23 #include "chromeos/network/network_configuration_handler.h" |
| (...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 EXPECT_FALSE(test_observer->HasConfiguration(service_path)); | 743 EXPECT_FALSE(test_observer->HasConfiguration(service_path)); |
| 741 EXPECT_FALSE(test_observer->HasConfigurationInProfile( | 744 EXPECT_FALSE(test_observer->HasConfigurationInProfile( |
| 742 service_path, NetworkProfileHandler::GetSharedProfilePath())); | 745 service_path, NetworkProfileHandler::GetSharedProfilePath())); |
| 743 EXPECT_FALSE( | 746 EXPECT_FALSE( |
| 744 test_observer->HasConfigurationInProfile(service_path, user_profile)); | 747 test_observer->HasConfigurationInProfile(service_path, user_profile)); |
| 745 | 748 |
| 746 network_configuration_handler_->RemoveObserver(test_observer.get()); | 749 network_configuration_handler_->RemoveObserver(test_observer.get()); |
| 747 } | 750 } |
| 748 | 751 |
| 749 } // namespace chromeos | 752 } // namespace chromeos |
| OLD | NEW |