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

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

Issue 762723003: Prefix CommandLine usage with base namespace (Part 8: components) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « components/crash/app/breakpad_mac.mm ('k') | components/crash/tools/crash_service.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 862174cab411e8fd2c034a3e29cc3a180367b0be..1c3af66fd8013ad7de4abbfe2ffdd8e91ede3f0b 100644
--- a/components/crash/app/breakpad_win.cc
+++ b/components/crash/app/breakpad_win.cc
@@ -456,7 +456,7 @@ static void InitPipeNameEnvVar(bool is_per_user_install) {
GetCrashReporterClient()->ReportingIsEnforcedByPolicy(
&crash_reporting_enabled);
- const CommandLine& command = *CommandLine::ForCurrentProcess();
+ const base::CommandLine& command = *base::CommandLine::ForCurrentProcess();
bool use_crash_service = !controlled_by_policy &&
(command.HasSwitch(switches::kNoErrorDialogs) ||
GetCrashReporterClient()->IsRunningUnattended());
@@ -501,7 +501,7 @@ void InitDefaultCrashCallback(LPTOP_LEVEL_EXCEPTION_FILTER filter) {
}
void InitCrashReporter(const std::string& process_type_switch) {
- const CommandLine& command = *CommandLine::ForCurrentProcess();
+ const base::CommandLine& command = *base::CommandLine::ForCurrentProcess();
if (command.HasSwitch(switches::kDisableBreakpad))
return;
@@ -523,8 +523,8 @@ void InitCrashReporter(const std::string& process_type_switch) {
CrashKeysWin* keeper = new CrashKeysWin();
google_breakpad::CustomClientInfo* custom_info =
- keeper->GetCustomInfo(exe_path, process_type,
- GetProfileType(), CommandLine::ForCurrentProcess(),
+ keeper->GetCustomInfo(exe_path, process_type, GetProfileType(),
+ base::CommandLine::ForCurrentProcess(),
GetCrashReporterClient());
google_breakpad::ExceptionHandler::MinidumpCallback callback = NULL;
« no previous file with comments | « components/crash/app/breakpad_mac.mm ('k') | components/crash/tools/crash_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698