Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: dbus/exported_object.cc

Issue 18156002: Use a direct include of time headers in courgette/, crypto/, dbus/, device/, google_apis/, gpu/, ip… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dbus/exported_object.h ('k') | dbus/object_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/threading/thread_restrictions.h" 12 #include "base/threading/thread_restrictions.h"
13 #include "base/time.h" 13 #include "base/time/time.h"
14 #include "dbus/bus.h" 14 #include "dbus/bus.h"
15 #include "dbus/message.h" 15 #include "dbus/message.h"
16 #include "dbus/object_path.h" 16 #include "dbus/object_path.h"
17 #include "dbus/scoped_dbus_error.h" 17 #include "dbus/scoped_dbus_error.h"
18 18
19 namespace dbus { 19 namespace dbus {
20 20
21 namespace { 21 namespace {
22 22
23 // Used for success ratio histograms. 1 for success, 0 for failure. 23 // Used for success ratio histograms. 1 for success, 0 for failure.
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 return self->HandleMessage(connection, raw_message); 308 return self->HandleMessage(connection, raw_message);
309 } 309 }
310 310
311 void ExportedObject::OnUnregisteredThunk(DBusConnection *connection, 311 void ExportedObject::OnUnregisteredThunk(DBusConnection *connection,
312 void* user_data) { 312 void* user_data) {
313 ExportedObject* self = reinterpret_cast<ExportedObject*>(user_data); 313 ExportedObject* self = reinterpret_cast<ExportedObject*>(user_data);
314 return self->OnUnregistered(connection); 314 return self->OnUnregistered(connection);
315 } 315 }
316 316
317 } // namespace dbus 317 } // namespace dbus
OLDNEW
« no previous file with comments | « dbus/exported_object.h ('k') | dbus/object_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698