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

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

Issue 909183002: win/aura: Remove some more non-aura code for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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/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"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 return false; 95 return false;
96 96
97 long exception = ex_info->ExceptionRecord->ExceptionCode; 97 long exception = ex_info->ExceptionRecord->ExceptionCode;
98 if (exception == kExceptionModuleNotFound) { 98 if (exception == kExceptionModuleNotFound) {
99 ModuleNotFoundHardError(ex_info->ExceptionRecord); 99 ModuleNotFoundHardError(ex_info->ExceptionRecord);
100 return true; 100 return true;
101 } else if (exception == kExceptionEntryPtNotFound) { 101 } else if (exception == kExceptionEntryPtNotFound) {
102 EntryPointNotFoundHardError(ex_info->ExceptionRecord); 102 EntryPointNotFoundHardError(ex_info->ExceptionRecord);
103 return true; 103 return true;
104 } else if (FacilityFromException(exception) == FACILITY_GRAPHICS_KERNEL) { 104 } else if (FacilityFromException(exception) == FACILITY_GRAPHICS_KERNEL) {
105 #if defined(USE_AURA)
106 RaiseHardErrorMsg(exception, std::string(), std::string()); 105 RaiseHardErrorMsg(exception, std::string(), std::string());
107 return true; 106 return true;
108 #else
109 return false;
110 #endif
111 } 107 }
112 return false; 108 return false;
113 } 109 }
114 110
115 } // namespace breakpad 111 } // namespace breakpad
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/help/version_updater_win.cc ('k') | content/shell/browser/shell_web_contents_view_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698