1 // Copyright (c) 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. 4 5 #include "content/shell/common/v8_crashpad_support_win.h" 6 7 #include <windows.h> 8 #include "components/crash/core/app/crash_export_thunks.h" 9 #include "gin/public/debug.h" 10 11 namespace v8_crashpad_support { 12 SetUp()13void SetUp() { 14 #ifdef _WIN64 15 gin::Debug::SetUnhandledExceptionCallback(&CrashForException_ExportThunk); 16 #endif 17 } 18 19 } // namespace v8_crashpad_support 20