summaryrefslogtreecommitdiffstats
path: root/base/debug/debug_on_start_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/debug/debug_on_start_win.h')
-rw-r--r--base/debug/debug_on_start_win.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/base/debug/debug_on_start_win.h b/base/debug/debug_on_start_win.h
index 5a1081d..4a5c120 100644
--- a/base/debug/debug_on_start_win.h
+++ b/base/debug/debug_on_start_win.h
@@ -24,6 +24,11 @@
namespace base {
namespace debug {
+// There is no way for this code, as currently implemented, to work across DLLs.
+// TODO(rvargas): It looks like we really don't use this code, at least not for
+// Chrome. Figure out if it's really worth implementing something simpler.
+#if !defined(BASE_DLL)
+
// Debug on start functions and data.
class DebugOnStart {
public:
@@ -69,6 +74,8 @@ DECLSPEC_SELECTANY DebugOnStart::PIFV debug_on_start = &DebugOnStart::Init;
#endif // _WIN64
+#endif // defined(BASE_DLL)
+
} // namespace debug
} // namespace base