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

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

Issue 798163004: remove some dead visual studio < 2013 code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove MAYBE macro completely Created 6 years 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/app/delay_load_hook_win.cc ('k') | content/browser/media/media_browsertest.cc » ('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 "components/crash/app/hard_error_handler_win.h" 5 #include "components/crash/app/hard_error_handler_win.h"
6 6
7 #if defined(_WIN32_WINNT_WIN8) && _MSC_VER < 1700
8 // The Windows 8 SDK defines FACILITY_VISUALCPP in winerror.h, and in
9 // delayimp.h previous to VS2012.
10 #undef FACILITY_VISUALCPP
11 #endif
12 #include <DelayIMP.h> 7 #include <DelayIMP.h>
13 #include <winternl.h> 8 #include <winternl.h>
14 9
15 #include "base/basictypes.h" 10 #include "base/basictypes.h"
16 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
17 #include "components/crash/app/crash_reporter_client.h" 12 #include "components/crash/app/crash_reporter_client.h"
18 13
19 namespace breakpad { 14 namespace breakpad {
20 15
21 using crash_reporter::GetCrashReporterClient; 16 using crash_reporter::GetCrashReporterClient;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 RaiseHardErrorMsg(exception, std::string(), std::string()); 106 RaiseHardErrorMsg(exception, std::string(), std::string());
112 return true; 107 return true;
113 #else 108 #else
114 return false; 109 return false;
115 #endif 110 #endif
116 } 111 }
117 return false; 112 return false;
118 } 113 }
119 114
120 } // namespace breakpad 115 } // namespace breakpad
OLDNEW
« no previous file with comments | « chrome/app/delay_load_hook_win.cc ('k') | content/browser/media/media_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698