| 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/dbus_statistics.h" | 5 #include "dbus/dbus_statistics.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
| 12 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 13 #include "base/threading/platform_thread.h" | 14 #include "base/threading/platform_thread.h" |
| 14 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 15 | 16 |
| 16 namespace dbus { | 17 namespace dbus { |
| 17 | 18 |
| 18 namespace { | 19 namespace { |
| 19 | 20 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 *sent = stat->sent_method_calls; | 275 *sent = stat->sent_method_calls; |
| 275 *received = stat->received_signals; | 276 *received = stat->received_signals; |
| 276 *blocking = stat->sent_blocking_method_calls; | 277 *blocking = stat->sent_blocking_method_calls; |
| 277 return true; | 278 return true; |
| 278 } | 279 } |
| 279 | 280 |
| 280 } // namespace testing | 281 } // namespace testing |
| 281 | 282 |
| 282 } // namespace statistics | 283 } // namespace statistics |
| 283 } // namespace dbus | 284 } // namespace dbus |
| OLD | NEW |