| 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 // This module contains the necessary code to register the Breakpad exception | 5 // This module contains the necessary code to register the Breakpad exception |
| 6 // handler. This implementation is based on Chrome/Chrome Frame crash reporting | 6 // handler. This implementation is based on Chrome/Chrome Frame crash reporting |
| 7 // code. See: | 7 // code. See: |
| 8 // - src/components/breakpad/breakpad_win.cc | 8 // - src/components/breakpad/app/breakpad_win.cc |
| 9 // - src/chrome_frame/crash_server_init.cc | 9 // - src/chrome_frame/crash_server_init.cc |
| 10 // - src/chrome/installer/setup/setup_main.cc | 10 // - src/chrome/installer/setup/setup_main.cc |
| 11 // - src/chrome_frame/crash_reporting/crash_report.cc | 11 // - src/chrome_frame/crash_reporting/crash_report.cc |
| 12 | 12 |
| 13 #include "remoting/base/breakpad.h" | 13 #include "remoting/base/breakpad.h" |
| 14 | 14 |
| 15 #include <windows.h> | 15 #include <windows.h> |
| 16 #include <string> | 16 #include <string> |
| 17 | 17 |
| 18 #include "base/atomicops.h" | 18 #include "base/atomicops.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 // Touch the object to make sure it is initialized. | 203 // Touch the object to make sure it is initialized. |
| 204 BreakpadWin::GetInstance(); | 204 BreakpadWin::GetInstance(); |
| 205 } | 205 } |
| 206 | 206 |
| 207 void InitializeCrashReportingForTest(const wchar_t* pipe_name) { | 207 void InitializeCrashReportingForTest(const wchar_t* pipe_name) { |
| 208 BreakpadWin::pipe_name_ = pipe_name; | 208 BreakpadWin::pipe_name_ = pipe_name; |
| 209 InitializeCrashReporting(); | 209 InitializeCrashReporting(); |
| 210 } | 210 } |
| 211 | 211 |
| 212 } // namespace remoting | 212 } // namespace remoting |
| OLD | NEW |