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

Side by Side Diff: base/tracked_objects.cc

Issue 16320009: Use a direct include of strings headers in base/. (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 | « base/threading/worker_pool_posix.cc ('k') | base/values.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 "base/tracked_objects.h" 5 #include "base/tracked_objects.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/debug/leak_annotations.h" 11 #include "base/debug/leak_annotations.h"
12 #include "base/format_macros.h" 12 #include "base/format_macros.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/port.h"
14 #include "base/process_util.h" 15 #include "base/process_util.h"
15 #include "base/profiler/alternate_timer.h" 16 #include "base/profiler/alternate_timer.h"
16 #include "base/stringprintf.h" 17 #include "base/strings/stringprintf.h"
17 #include "base/third_party/valgrind/memcheck.h" 18 #include "base/third_party/valgrind/memcheck.h"
18 #include "base/threading/thread_restrictions.h" 19 #include "base/threading/thread_restrictions.h"
19 #include "base/port.h"
20 20
21 using base::TimeDelta; 21 using base::TimeDelta;
22 22
23 namespace tracked_objects { 23 namespace tracked_objects {
24 24
25 namespace { 25 namespace {
26 // Flag to compile out almost all of the task tracking code. 26 // Flag to compile out almost all of the task tracking code.
27 const bool kTrackAllTaskObjects = true; 27 const bool kTrackAllTaskObjects = true;
28 28
29 // TODO(jar): Evaluate the perf impact of enabling this. If the perf impact is 29 // TODO(jar): Evaluate the perf impact of enabling this. If the perf impact is
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 : process_id(base::GetCurrentProcId()) { 870 : process_id(base::GetCurrentProcId()) {
871 #else 871 #else
872 : process_id(0) { 872 : process_id(0) {
873 #endif 873 #endif
874 } 874 }
875 875
876 ProcessDataSnapshot::~ProcessDataSnapshot() { 876 ProcessDataSnapshot::~ProcessDataSnapshot() {
877 } 877 }
878 878
879 } // namespace tracked_objects 879 } // namespace tracked_objects
OLDNEW
« no previous file with comments | « base/threading/worker_pool_posix.cc ('k') | base/values.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698