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.h" | 9 #include "base/message_loop.h" |
10 #include "base/message_loop/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
11 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
12 #include "base/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
14 #include "base/threading/thread_restrictions.h" | 14 #include "base/threading/thread_restrictions.h" |
15 #include "base/time.h" | 15 #include "base/time.h" |
16 #include "dbus/exported_object.h" | 16 #include "dbus/exported_object.h" |
17 #include "dbus/message.h" | 17 #include "dbus/message.h" |
18 #include "dbus/object_manager.h" | 18 #include "dbus/object_manager.h" |
19 #include "dbus/object_path.h" | 19 #include "dbus/object_path.h" |
20 #include "dbus/object_proxy.h" | 20 #include "dbus/object_proxy.h" |
21 #include "dbus/scoped_dbus_error.h" | 21 #include "dbus/scoped_dbus_error.h" |
22 | 22 |
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1224 kNameOwnerChangedSignal)) { | 1224 kNameOwnerChangedSignal)) { |
1225 Bus* self = static_cast<Bus*>(data); | 1225 Bus* self = static_cast<Bus*>(data); |
1226 self->OnServiceOwnerChanged(message); | 1226 self->OnServiceOwnerChanged(message); |
1227 } | 1227 } |
1228 // Always return unhandled to let others, e.g. ObjectProxies, handle the same | 1228 // Always return unhandled to let others, e.g. ObjectProxies, handle the same |
1229 // signal. | 1229 // signal. |
1230 return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; | 1230 return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; |
1231 } | 1231 } |
1232 | 1232 |
1233 } // namespace dbus | 1233 } // namespace dbus |
OLD | NEW |