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

Unified Diff: components/crash/app/breakpad_win.cc

Issue 689063002: Cleanup: Replace base::ASCIIToWide with base::ASCIIToUTF16. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix typo Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apps/launcher.cc ('k') | components/policy/core/common/policy_loader_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/app/breakpad_win.cc
diff --git a/components/crash/app/breakpad_win.cc b/components/crash/app/breakpad_win.cc
index 32c48915426e717a294d273cc2317305f9e1b3bd..862174cab411e8fd2c034a3e29cc3a180367b0be 100644
--- a/components/crash/app/breakpad_win.cc
+++ b/components/crash/app/breakpad_win.cc
@@ -508,7 +508,7 @@ void InitCrashReporter(const std::string& process_type_switch) {
// Disable the message box for assertions.
_CrtSetReportMode(_CRT_ASSERT, 0);
- std::wstring process_type = base::ASCIIToWide(process_type_switch);
+ base::string16 process_type = base::ASCIIToUTF16(process_type_switch);
if (process_type.empty())
process_type = L"browser";
@@ -555,7 +555,7 @@ void InitCrashReporter(const std::string& process_type_switch) {
InitDefaultCrashCallback(default_filter);
return;
}
- std::wstring pipe_name = base::ASCIIToWide(pipe_name_ascii);
+ base::string16 pipe_name = base::ASCIIToUTF16(pipe_name_ascii);
#ifdef _WIN64
// The protocol for connecting to the out-of-process Breakpad crash
« no previous file with comments | « apps/launcher.cc ('k') | components/policy/core/common/policy_loader_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698