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

Side by Side Diff: chrome_elf/chrome_elf_main.cc

Issue 2909623002: Change DumpProcessWithoutCrash to use load-time dynamic linking (Closed)
Patch Set: forgot to update def file Created 3 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
« no previous file with comments | « chrome_elf/chrome_elf_main.h ('k') | chrome_elf/crash/crash_helper.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome_elf/chrome_elf_main.h" 5 #include "chrome_elf/chrome_elf_main.h"
6 6
7 #include <assert.h> 7 #include <assert.h>
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "chrome/install_static/install_details.h" 10 #include "chrome/install_static/install_details.h"
(...skipping 28 matching lines...) Expand all
39 39
40 __try { 40 __try {
41 blacklist::Initialize(false); // Don't force, abort if beacon is present. 41 blacklist::Initialize(false); // Don't force, abort if beacon is present.
42 } __except (elf_crash::GenerateCrashDump(GetExceptionInformation())) { 42 } __except (elf_crash::GenerateCrashDump(GetExceptionInformation())) {
43 } 43 }
44 } else if (reason == DLL_PROCESS_DETACH) { 44 } else if (reason == DLL_PROCESS_DETACH) {
45 elf_crash::ShutdownCrashReporting(); 45 elf_crash::ShutdownCrashReporting();
46 } 46 }
47 return TRUE; 47 return TRUE;
48 } 48 }
49
50 void DumpProcessWithoutCrash() {
51 elf_crash::DumpWithoutCrashing();
52 }
OLDNEW
« no previous file with comments | « chrome_elf/chrome_elf_main.h ('k') | chrome_elf/crash/crash_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698