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/exported_object.h" | 5 #include "dbus/exported_object.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram_macros.h" |
15 #include "base/threading/thread_restrictions.h" | 15 #include "base/threading/thread_restrictions.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "dbus/bus.h" | 17 #include "dbus/bus.h" |
18 #include "dbus/message.h" | 18 #include "dbus/message.h" |
19 #include "dbus/object_path.h" | 19 #include "dbus/object_path.h" |
20 #include "dbus/scoped_dbus_error.h" | 20 #include "dbus/scoped_dbus_error.h" |
21 #include "dbus/util.h" | 21 #include "dbus/util.h" |
22 | 22 |
23 namespace dbus { | 23 namespace dbus { |
24 | 24 |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 return self->HandleMessage(connection, raw_message); | 312 return self->HandleMessage(connection, raw_message); |
313 } | 313 } |
314 | 314 |
315 void ExportedObject::OnUnregisteredThunk(DBusConnection *connection, | 315 void ExportedObject::OnUnregisteredThunk(DBusConnection *connection, |
316 void* user_data) { | 316 void* user_data) { |
317 ExportedObject* self = reinterpret_cast<ExportedObject*>(user_data); | 317 ExportedObject* self = reinterpret_cast<ExportedObject*>(user_data); |
318 return self->OnUnregistered(connection); | 318 return self->OnUnregistered(connection); |
319 } | 319 } |
320 | 320 |
321 } // namespace dbus | 321 } // namespace dbus |
OLD | NEW |