Fix build break.
BUG=6446 TEST=unit test, logging_UserCrash Change-Id: Iac9f5484d9218ef91ae606ef410409df5ec16382 Review URL: http://codereview.chromium.org/3380022
This commit is contained in:
parent
cd71405362
commit
563d08ba7d
1 changed files with 6 additions and 0 deletions
|
|
@ -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,6 +144,11 @@ int main(int argc, char *argv[]) {
|
|||
FilePath my_path(argv[0]);
|
||||
file_util::AbsolutePath(&my_path);
|
||||
s_metrics_lib.Init();
|
||||
CommandLine::Init(argc, argv);
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue