| 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 "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/json/json_writer.h" | 6 #include "base/json/json_writer.h" |
| 7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
| 8 #include "base/string_piece.h" | 8 #include "base/strings/string_piece.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chromeos/dbus/dbus_thread_manager.h" | 10 #include "chromeos/dbus/dbus_thread_manager.h" |
| 11 #include "chromeos/dbus/mock_dbus_thread_manager.h" | 11 #include "chromeos/dbus/mock_dbus_thread_manager.h" |
| 12 #include "chromeos/dbus/mock_shill_manager_client.h" | 12 #include "chromeos/dbus/mock_shill_manager_client.h" |
| 13 #include "chromeos/dbus/mock_shill_service_client.h" | 13 #include "chromeos/dbus/mock_shill_service_client.h" |
| 14 #include "chromeos/network/network_configuration_handler.h" | 14 #include "chromeos/network/network_configuration_handler.h" |
| 15 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 | 17 |
| 18 using ::testing::_; | 18 using ::testing::_; |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 Invoke(this, | 354 Invoke(this, |
| 355 &NetworkConfigurationHandlerTest::OnRemove)); | 355 &NetworkConfigurationHandlerTest::OnRemove)); |
| 356 NetworkConfigurationHandler::Get()->RemoveConfiguration( | 356 NetworkConfigurationHandler::Get()->RemoveConfiguration( |
| 357 service_path, | 357 service_path, |
| 358 base::Bind(&base::DoNothing), | 358 base::Bind(&base::DoNothing), |
| 359 base::Bind(&ErrorCallback, false, service_path)); | 359 base::Bind(&ErrorCallback, false, service_path)); |
| 360 message_loop_.RunUntilIdle(); | 360 message_loop_.RunUntilIdle(); |
| 361 } | 361 } |
| 362 | 362 |
| 363 } // namespace chromeos | 363 } // namespace chromeos |
| OLD | NEW |