Roll breakpad a513e85:7caf028 (svn 1384:1385)
[chromium-blink-merge.git] / base / debug / gdi_debug_util_win.h
blob5887ecb8464184e63013a374fa5d9bb701e207ba
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef BASE_DEBUG_GDI_DEBUG_UTIL_WIN_H_
6 #define BASE_DEBUG_GDI_DEBUG_UTIL_WIN_H_
8 #include <windows.h>
10 #include "base/base_export.h"
12 namespace base {
13 namespace debug {
15 // Crashes the process leaving valuable information on the dump via
16 // debug::alias so we can find what is causing the allocation failures.
17 void BASE_EXPORT GDIBitmapAllocFailure(BITMAPINFOHEADER* header,
18 HANDLE shared_section);
20 } // namespace debug
21 } // namespace base
23 #endif // BASE_DEBUG_GDI_DEBUG_UTIL_WIN_H_