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

Side by Side Diff: base/debug/debugger.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/debug_on_start_win.h ('k') | base/debug/leak_annotations.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This is a cross platform interface for helper functions related to 5 // This is a cross platform interface for helper functions related to
6 // debuggers. You should use this to test if you're running under a debugger, 6 // debuggers. You should use this to test if you're running under a debugger,
7 // and if you would like to yield (breakpoint) into the debugger. 7 // and if you would like to yield (breakpoint) into the debugger.
8 8
9 #ifndef BASE_DEBUG_DEBUGGER_H 9 #ifndef BASE_DEBUG_DEBUGGER_H
10 #define BASE_DEBUG_DEBUGGER_H 10 #define BASE_DEBUG_DEBUGGER_H
11 #pragma once
12 11
13 #include "base/base_export.h" 12 #include "base/base_export.h"
14 13
15 namespace base { 14 namespace base {
16 namespace debug { 15 namespace debug {
17 16
18 // Starts the registered system-wide JIT debugger to attach it to specified 17 // Starts the registered system-wide JIT debugger to attach it to specified
19 // process. 18 // process.
20 BASE_EXPORT bool SpawnDebuggerOnProcess(unsigned process_id); 19 BASE_EXPORT bool SpawnDebuggerOnProcess(unsigned process_id);
21 20
(...skipping 18 matching lines...) Expand all
40 // release mode doesn't do this stuff -- this is controlled separately). 39 // release mode doesn't do this stuff -- this is controlled separately).
41 // Normally UI is not suppressed. This is normally used when running automated 40 // Normally UI is not suppressed. This is normally used when running automated
42 // tests where we want a crash rather than a dialog or a debugger. 41 // tests where we want a crash rather than a dialog or a debugger.
43 BASE_EXPORT void SetSuppressDebugUI(bool suppress); 42 BASE_EXPORT void SetSuppressDebugUI(bool suppress);
44 BASE_EXPORT bool IsDebugUISuppressed(); 43 BASE_EXPORT bool IsDebugUISuppressed();
45 44
46 } // namespace debug 45 } // namespace debug
47 } // namespace base 46 } // namespace base
48 47
49 #endif // BASE_DEBUG_DEBUGGER_H 48 #endif // BASE_DEBUG_DEBUGGER_H
OLDNEW
« no previous file with comments | « base/debug/debug_on_start_win.h ('k') | base/debug/leak_annotations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698