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

Side by Side Diff: dbus/object_proxy.cc

Issue 2639313002: Migrate desktop Linux to histogram_macros.h include. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « dbus/exported_object.cc ('k') | dbus/signal_sender_verification_unittest.cc » ('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/object_proxy.h" 5 #include "dbus/object_proxy.h"
6 6
7 #include <stddef.h> 7 #include <stddef.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/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram_macros.h"
14 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/task_runner_util.h" 16 #include "base/task_runner_util.h"
17 #include "base/threading/thread.h" 17 #include "base/threading/thread.h"
18 #include "base/threading/thread_restrictions.h" 18 #include "base/threading/thread_restrictions.h"
19 #include "dbus/bus.h" 19 #include "dbus/bus.h"
20 #include "dbus/dbus_statistics.h" 20 #include "dbus/dbus_statistics.h"
21 #include "dbus/message.h" 21 #include "dbus/message.h"
22 #include "dbus/object_path.h" 22 #include "dbus/object_path.h"
23 #include "dbus/scoped_dbus_error.h" 23 #include "dbus/scoped_dbus_error.h"
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 bool service_is_available) { 708 bool service_is_available) {
709 bus_->AssertOnOriginThread(); 709 bus_->AssertOnOriginThread();
710 710
711 std::vector<WaitForServiceToBeAvailableCallback> callbacks; 711 std::vector<WaitForServiceToBeAvailableCallback> callbacks;
712 callbacks.swap(wait_for_service_to_be_available_callbacks_); 712 callbacks.swap(wait_for_service_to_be_available_callbacks_);
713 for (size_t i = 0; i < callbacks.size(); ++i) 713 for (size_t i = 0; i < callbacks.size(); ++i)
714 callbacks[i].Run(service_is_available); 714 callbacks[i].Run(service_is_available);
715 } 715 }
716 716
717 } // namespace dbus 717 } // namespace dbus
OLDNEW
« no previous file with comments | « dbus/exported_object.cc ('k') | dbus/signal_sender_verification_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698