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

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

Issue 15995038: Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ipc/, media/, ppapi/, print… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « printing/printing_context_win.cc ('k') | remoting/base/breakpad_win_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/Chrome Frame crash reporting 6 // handler. This implementation is based on Chrome/Chrome Frame crash reporting
7 // code. See: 7 // code. See:
8 // - src/chrome/app/breakpad_win.cc 8 // - src/chrome/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"
19 #include "base/logging.h"
20 #include "base/file_version_info.h" 19 #include "base/file_version_info.h"
21 #include "base/lazy_instance.h" 20 #include "base/lazy_instance.h"
21 #include "base/logging.h"
22 #include "base/memory/scoped_ptr.h" 22 #include "base/memory/scoped_ptr.h"
23 #include "base/process_util.h" 23 #include "base/process_util.h"
24 #include "base/utf_string_conversions.h" 24 #include "base/strings/utf_string_conversions.h"
25 #include "base/win/wrapped_window_proc.h" 25 #include "base/win/wrapped_window_proc.h"
26 #include "breakpad/src/client/windows/handler/exception_handler.h" 26 #include "breakpad/src/client/windows/handler/exception_handler.h"
27 27
28 namespace remoting { 28 namespace remoting {
29 void InitializeCrashReportingForTest(const wchar_t* pipe_name); 29 void InitializeCrashReportingForTest(const wchar_t* pipe_name);
30 } // namespace remoting 30 } // namespace remoting
31 31
32 namespace { 32 namespace {
33 33
34 const wchar_t kBreakpadProductName[] = L"Chromoting"; 34 const wchar_t kBreakpadProductName[] = L"Chromoting";
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « printing/printing_context_win.cc ('k') | remoting/base/breakpad_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698