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

Side by Side Diff: remoting/base/breakpad_win.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 4 years, 12 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
« no previous file with comments | « remoting/base/auto_thread_unittest.cc ('k') | remoting/base/buffered_socket_writer_unittest.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 (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 crash reporting code. See: 6 // handler. This implementation is based on Chrome crash reporting code. See:
7 // - src/components/crash/content/app/breakpad_win.cc 7 // - src/components/crash/content/app/breakpad_win.cc
8 // - src/chrome/installer/setup/setup_main.cc 8 // - src/chrome/installer/setup/setup_main.cc
9 9
10 #include "remoting/base/breakpad.h" 10 #include "remoting/base/breakpad.h"
11 11
12 #include <windows.h> 12 #include <windows.h>
13 #include <string> 13 #include <string>
14 14
15 #include "base/atomicops.h" 15 #include "base/atomicops.h"
16 #include "base/file_version_info.h" 16 #include "base/file_version_info.h"
17 #include "base/lazy_instance.h" 17 #include "base/lazy_instance.h"
18 #include "base/logging.h" 18 #include "base/logging.h"
19 #include "base/macros.h"
19 #include "base/memory/scoped_ptr.h" 20 #include "base/memory/scoped_ptr.h"
20 #include "base/process/memory.h" 21 #include "base/process/memory.h"
21 #include "base/strings/utf_string_conversions.h" 22 #include "base/strings/utf_string_conversions.h"
22 #include "base/win/wrapped_window_proc.h" 23 #include "base/win/wrapped_window_proc.h"
23 #include "breakpad/src/client/windows/handler/exception_handler.h" 24 #include "breakpad/src/client/windows/handler/exception_handler.h"
24 25
25 namespace remoting { 26 namespace remoting {
26 void InitializeCrashReportingForTest(const wchar_t* pipe_name); 27 void InitializeCrashReportingForTest(const wchar_t* pipe_name);
27 } // namespace remoting 28 } // namespace remoting
28 29
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // Touch the object to make sure it is initialized. 201 // Touch the object to make sure it is initialized.
201 BreakpadWin::GetInstance(); 202 BreakpadWin::GetInstance();
202 } 203 }
203 204
204 void InitializeCrashReportingForTest(const wchar_t* pipe_name) { 205 void InitializeCrashReportingForTest(const wchar_t* pipe_name) {
205 BreakpadWin::pipe_name_ = pipe_name; 206 BreakpadWin::pipe_name_ = pipe_name;
206 InitializeCrashReporting(); 207 InitializeCrashReporting();
207 } 208 }
208 209
209 } // namespace remoting 210 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/base/auto_thread_unittest.cc ('k') | remoting/base/buffered_socket_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698