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: base/debug/profiler.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/leak_tracker.h ('k') | base/debug/stack_trace.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 #ifndef BASE_DEBUG_PROFILER_H 5 #ifndef BASE_DEBUG_PROFILER_H
6 #define BASE_DEBUG_PROFILER_H 6 #define BASE_DEBUG_PROFILER_H
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/base_export.h" 10 #include "base/base_export.h"
12 #include "base/basictypes.h" 11 #include "base/basictypes.h"
13 12
14 // The Profiler functions allow usage of the underlying sampling based 13 // The Profiler functions allow usage of the underlying sampling based
15 // profiler. If the application has not been built with the necessary 14 // profiler. If the application has not been built with the necessary
16 // flags (-DENABLE_PROFILING and not -DNO_TCMALLOC) then these functions 15 // flags (-DENABLE_PROFILING and not -DNO_TCMALLOC) then these functions
17 // are noops. 16 // are noops.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // If this binary is instrumented and the instrumentation supplies a return 58 // If this binary is instrumented and the instrumentation supplies a return
60 // address resolution function, finds and returns the address resolution 59 // address resolution function, finds and returns the address resolution
61 // function. Otherwise returns NULL. 60 // function. Otherwise returns NULL.
62 BASE_EXPORT ReturnAddressLocationResolver 61 BASE_EXPORT ReturnAddressLocationResolver
63 GetProfilerReturnAddrResolutionFunc(); 62 GetProfilerReturnAddrResolutionFunc();
64 63
65 } // namespace debug 64 } // namespace debug
66 } // namespace base 65 } // namespace base
67 66
68 #endif // BASE_DEBUG_DEBUGGER_H 67 #endif // BASE_DEBUG_DEBUGGER_H
OLDNEW
« no previous file with comments | « base/debug/leak_tracker.h ('k') | base/debug/stack_trace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698