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

Side by Side Diff: components/crash/content/app/hard_error_handler_win.cc

Issue 1315303004: Turn components/crash into a layered component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
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 "components/crash/app/hard_error_handler_win.h" 5 #include "components/crash/content/app/hard_error_handler_win.h"
6 6
7 #include <DelayIMP.h> 7 #include <DelayIMP.h>
8 #include <winternl.h> 8 #include <winternl.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "components/crash/app/crash_reporter_client.h" 12 #include "components/crash/content/app/crash_reporter_client.h"
13 13
14 namespace breakpad { 14 namespace breakpad {
15 15
16 using crash_reporter::GetCrashReporterClient; 16 using crash_reporter::GetCrashReporterClient;
17 17
18 namespace { 18 namespace {
19 const DWORD kExceptionModuleNotFound = VcppException(ERROR_SEVERITY_ERROR, 19 const DWORD kExceptionModuleNotFound = VcppException(ERROR_SEVERITY_ERROR,
20 ERROR_MOD_NOT_FOUND); 20 ERROR_MOD_NOT_FOUND);
21 const DWORD kExceptionEntryPtNotFound = VcppException(ERROR_SEVERITY_ERROR, 21 const DWORD kExceptionEntryPtNotFound = VcppException(ERROR_SEVERITY_ERROR,
22 ERROR_PROC_NOT_FOUND); 22 ERROR_PROC_NOT_FOUND);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 EntryPointNotFoundHardError(ex_info->ExceptionRecord); 103 EntryPointNotFoundHardError(ex_info->ExceptionRecord);
104 return true; 104 return true;
105 } else if (FacilityFromException(exception) == FACILITY_GRAPHICS_KERNEL) { 105 } else if (FacilityFromException(exception) == FACILITY_GRAPHICS_KERNEL) {
106 RaiseHardErrorMsg(exception, std::string(), std::string()); 106 RaiseHardErrorMsg(exception, std::string(), std::string());
107 return true; 107 return true;
108 } 108 }
109 return false; 109 return false;
110 } 110 }
111 111
112 } // namespace breakpad 112 } // namespace breakpad
OLDNEW
« no previous file with comments | « components/crash/content/app/hard_error_handler_win.h ('k') | components/crash/content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698