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

Side by Side Diff: base/debug/profiler.cc

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: Created 9 years, 10 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/debug/debugger_posix.cc ('k') | base/debug/stack_trace.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/debug/profiler.h"
6
7 #include <string> 5 #include <string>
8 6
9 #include "base/process_util.h"
10 #include "base/string_util.h"
11
12 #if defined(ENABLE_PROFILING) && !defined(NO_TCMALLOC) 7 #if defined(ENABLE_PROFILING) && !defined(NO_TCMALLOC)
13 #include "third_party/tcmalloc/chromium/src/google/profiler.h" 8 #include "third_party/tcmalloc/chromium/src/google/profiler.h"
14 #endif 9 #endif
15 10
16 namespace base { 11 namespace base {
17 namespace debug { 12 namespace debug {
18 13
19 #if defined(ENABLE_PROFILING) && !defined(NO_TCMALLOC) 14 #if defined(ENABLE_PROFILING) && !defined(NO_TCMALLOC)
20 15
21 static int profile_count = 0; 16 static int profile_count = 0;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 51
57 bool BeingProfiled() { 52 bool BeingProfiled() {
58 return false; 53 return false;
59 } 54 }
60 55
61 #endif 56 #endif
62 57
63 } // namespace debug 58 } // namespace debug
64 } // namespace base 59 } // namespace base
65 60
OLDNEW
« no previous file with comments | « base/debug/debugger_posix.cc ('k') | base/debug/stack_trace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698