Index: crash_reporter.cc |
diff --git a/crash_reporter.cc b/crash_reporter.cc |
index ff99748b25a6c31e86e0c9da4d1796e23402e983..5542665006ce2dd217b7dd2a9a28243e1213bb07 100644 |
--- a/crash_reporter.cc |
+++ b/crash_reporter.cc |
@@ -5,6 +5,7 @@ |
#include <string> |
#include "base/file_util.h" |
+#include "base/command_line.h" |
#include "base/logging.h" |
#include "base/string_util.h" |
#include "crash-reporter/kernel_collector.h" |
@@ -143,10 +144,11 @@ int main(int argc, char *argv[]) { |
FilePath my_path(argv[0]); |
file_util::AbsolutePath(&my_path); |
s_metrics_lib.Init(); |
- InitLogging(NULL, |
- LOG_ONLY_TO_SYSTEM_DEBUG_LOG, |
- DONT_LOCK_LOG_FILE, |
- DELETE_OLD_LOG_FILE); |
+ CommandLine::Init(argc,argv); |
Chris Masone
2010/09/21 23:56:15
nit: space after the comma
|
+ logging::InitLogging(NULL, |
+ logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG, |
+ logging::DONT_LOCK_LOG_FILE, |
+ logging::DELETE_OLD_LOG_FILE); |
s_system_log.Initialize(my_path.BaseName().value().c_str()); |
KernelCollector kernel_collector; |
kernel_collector.Initialize(CountKernelCrash, |