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

Unified Diff: base/debug/debugger.h

Issue 7461141: Rename BASE_API to BASE_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/debug/alias.h ('k') | base/debug/profiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/debugger.h
===================================================================
--- base/debug/debugger.h (revision 95578)
+++ base/debug/debugger.h (working copy)
@@ -10,18 +10,18 @@
#define BASE_DEBUG_DEBUGGER_H
#pragma once
-#include "base/base_api.h"
+#include "base/base_export.h"
namespace base {
namespace debug {
// Starts the registered system-wide JIT debugger to attach it to specified
// process.
-BASE_API bool SpawnDebuggerOnProcess(unsigned process_id);
+BASE_EXPORT bool SpawnDebuggerOnProcess(unsigned process_id);
// Waits wait_seconds seconds for a debugger to attach to the current process.
// When silent is false, an exception is thrown when a debugger is detected.
-BASE_API bool WaitForDebugger(int wait_seconds, bool silent);
+BASE_EXPORT bool WaitForDebugger(int wait_seconds, bool silent);
// Returns true if the given process is being run under a debugger.
//
@@ -30,18 +30,18 @@
//
// WARNING: Because of this, on OS X, a call MUST be made to this function
// BEFORE the sandbox is enabled.
-BASE_API bool BeingDebugged();
+BASE_EXPORT bool BeingDebugged();
// Break into the debugger, assumes a debugger is present.
-BASE_API void BreakDebugger();
+BASE_EXPORT void BreakDebugger();
// Used in test code, this controls whether showing dialogs and breaking into
// the debugger is suppressed for debug errors, even in debug mode (normally
// release mode doesn't do this stuff -- this is controlled separately).
// Normally UI is not suppressed. This is normally used when running automated
// tests where we want a crash rather than a dialog or a debugger.
-BASE_API void SetSuppressDebugUI(bool suppress);
-BASE_API bool IsDebugUISuppressed();
+BASE_EXPORT void SetSuppressDebugUI(bool suppress);
+BASE_EXPORT bool IsDebugUISuppressed();
} // namespace debug
} // namespace base
« no previous file with comments | « base/debug/alias.h ('k') | base/debug/profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698