| 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/values.h" |
| 6 #include "chromeos/dbus/flimflam_client_unittest_base.h" | 7 #include "chromeos/dbus/flimflam_client_unittest_base.h" |
| 7 #include "chromeos/dbus/flimflam_manager_client.h" | 8 #include "chromeos/dbus/flimflam_manager_client.h" |
| 8 #include "dbus/message.h" | 9 #include "dbus/message.h" |
| 9 #include "dbus/object_path.h" | 10 #include "dbus/object_path.h" |
| 10 #include "dbus/values_util.h" | 11 #include "dbus/values_util.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "third_party/cros_system_api/dbus/service_constants.h" | 13 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 13 | 14 |
| 14 namespace chromeos { | 15 namespace chromeos { |
| 15 | 16 |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 PrepareForMethodCall(flimflam::kGetServiceFunction, | 253 PrepareForMethodCall(flimflam::kGetServiceFunction, |
| 253 base::Bind(&ExpectDictionaryValueArgument, arg.get()), | 254 base::Bind(&ExpectDictionaryValueArgument, arg.get()), |
| 254 response.get()); | 255 response.get()); |
| 255 // Call method. | 256 // Call method. |
| 256 client_->GetService(*arg, base::Bind(&ExpectObjectPathResult, object_path)); | 257 client_->GetService(*arg, base::Bind(&ExpectObjectPathResult, object_path)); |
| 257 // Run the message loop. | 258 // Run the message loop. |
| 258 message_loop_.RunAllPending(); | 259 message_loop_.RunAllPending(); |
| 259 } | 260 } |
| 260 | 261 |
| 261 } // namespace chromeos | 262 } // namespace chromeos |
| OLD | NEW |