| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/app/chrome_main_delegate.h" | 5 #include "chrome/app/chrome_main_delegate.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" |
| 7 #include "content/public/app/content_main.h" | 8 #include "content/public/app/content_main.h" |
| 8 | 9 |
| 9 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| 10 #include "base/debug/dump_without_crashing.h" | 11 #include "base/debug/dump_without_crashing.h" |
| 11 #include "base/win/win_util.h" | 12 #include "base/win/win_util.h" |
| 12 #include "chrome/common/chrome_constants.h" | 13 #include "chrome/common/chrome_constants.h" |
| 13 | 14 |
| 14 #define DLLEXPORT __declspec(dllexport) | 15 #define DLLEXPORT __declspec(dllexport) |
| 15 | 16 |
| 16 // We use extern C for the prototype DLLEXPORT to avoid C++ name mangling. | 17 // We use extern C for the prototype DLLEXPORT to avoid C++ name mangling. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 #endif | 65 #endif |
| 65 | 66 |
| 66 int rv = content::ContentMain(params); | 67 int rv = content::ContentMain(params); |
| 67 | 68 |
| 68 #if defined(OS_WIN) | 69 #if defined(OS_WIN) |
| 69 base::win::SetShouldCrashOnProcessDetach(false); | 70 base::win::SetShouldCrashOnProcessDetach(false); |
| 70 #endif | 71 #endif |
| 71 | 72 |
| 72 return rv; | 73 return rv; |
| 73 } | 74 } |
| OLD | NEW |