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/bus.h" | 5 #include "dbus/bus.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/message_loop/message_loop_proxy.h" | |
11 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
12 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
13 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
14 #include "base/threading/thread_restrictions.h" | 13 #include "base/threading/thread_restrictions.h" |
15 #include "base/time/time.h" | 14 #include "base/time/time.h" |
16 #include "dbus/exported_object.h" | 15 #include "dbus/exported_object.h" |
17 #include "dbus/message.h" | 16 #include "dbus/message.h" |
18 #include "dbus/object_manager.h" | 17 #include "dbus/object_manager.h" |
19 #include "dbus/object_path.h" | 18 #include "dbus/object_path.h" |
20 #include "dbus/object_proxy.h" | 19 #include "dbus/object_proxy.h" |
(...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1206 kNameOwnerChangedSignal)) { | 1205 kNameOwnerChangedSignal)) { |
1207 Bus* self = static_cast<Bus*>(data); | 1206 Bus* self = static_cast<Bus*>(data); |
1208 self->OnServiceOwnerChanged(message); | 1207 self->OnServiceOwnerChanged(message); |
1209 } | 1208 } |
1210 // Always return unhandled to let others, e.g. ObjectProxies, handle the same | 1209 // Always return unhandled to let others, e.g. ObjectProxies, handle the same |
1211 // signal. | 1210 // signal. |
1212 return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; | 1211 return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; |
1213 } | 1212 } |
1214 | 1213 |
1215 } // namespace dbus | 1214 } // namespace dbus |
OLD | NEW |