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

Side by Side Diff: dbus/dbus_statistics.cc

Issue 16123026: Use a direct include of strings headers in crypto/, dbus/, device/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « crypto/symmetric_key_unittest.cc ('k') | dbus/message.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/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/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.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/platform_thread.h" 13 #include "base/threading/platform_thread.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 15
16 namespace dbus { 16 namespace dbus {
17 17
18 namespace { 18 namespace {
19 19
20 // Used to store dbus statistics sorted alphabetically by service, interface, 20 // Used to store dbus statistics sorted alphabetically by service, interface,
21 // then method (using std::string <). 21 // then method (using std::string <).
22 struct Stat { 22 struct Stat {
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 *sent = stat->sent_method_calls; 274 *sent = stat->sent_method_calls;
275 *received = stat->received_signals; 275 *received = stat->received_signals;
276 *blocking = stat->sent_blocking_method_calls; 276 *blocking = stat->sent_blocking_method_calls;
277 return true; 277 return true;
278 } 278 }
279 279
280 } // namespace testing 280 } // namespace testing
281 281
282 } // namespace statistics 282 } // namespace statistics
283 } // namespace dbus 283 } // namespace dbus
OLDNEW
« no previous file with comments | « crypto/symmetric_key_unittest.cc ('k') | dbus/message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698