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 "dbus/test_service.h" | 5 #include "dbus/test_service.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/guid.h" | 13 #include "base/guid.h" |
| 14 #include "base/message_loop/message_loop.h" |
14 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
15 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
16 #include "base/test/test_timeouts.h" | 17 #include "base/test/test_timeouts.h" |
17 #include "base/threading/platform_thread.h" | 18 #include "base/threading/platform_thread.h" |
18 #include "dbus/bus.h" | 19 #include "dbus/bus.h" |
19 #include "dbus/exported_object.h" | 20 #include "dbus/exported_object.h" |
20 #include "dbus/message.h" | 21 #include "dbus/message.h" |
21 #include "dbus/object_manager.h" | 22 #include "dbus/object_manager.h" |
22 #include "dbus/object_path.h" | 23 #include "dbus/object_path.h" |
23 #include "dbus/property.h" | 24 #include "dbus/property.h" |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 MessageWriter invalidated_array_writer(NULL); | 732 MessageWriter invalidated_array_writer(NULL); |
732 | 733 |
733 writer.OpenArray("s", &invalidated_array_writer); | 734 writer.OpenArray("s", &invalidated_array_writer); |
734 invalidated_array_writer.AppendString("Name"); | 735 invalidated_array_writer.AppendString("Name"); |
735 writer.CloseContainer(&invalidated_array_writer); | 736 writer.CloseContainer(&invalidated_array_writer); |
736 | 737 |
737 exported_object_->SendSignal(&signal); | 738 exported_object_->SendSignal(&signal); |
738 } | 739 } |
739 | 740 |
740 } // namespace dbus | 741 } // namespace dbus |
OLD | NEW |