| OLD | NEW |
| 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 #include <atlbase.h> | 5 #include <atlbase.h> |
| 6 #include <security.h> | 6 #include <security.h> |
| 7 | 7 |
| 8 #include <iomanip> | 8 #include <iomanip> |
| 9 #include <iostream> | 9 #include <iostream> |
| 10 | 10 |
| 11 #include "base/at_exit.h" | 11 #include "base/at_exit.h" |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/callback_helpers.h" |
| 13 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 14 #include "base/file_util.h" | 15 #include "base/file_util.h" |
| 15 #include "base/guid.h" | 16 #include "base/guid.h" |
| 16 #include "base/logging.h" | 17 #include "base/logging.h" |
| 17 #include "base/path_service.h" | 18 #include "base/path_service.h" |
| 18 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
| 19 #include "base/strings/utf_string_conversions.h" | 20 #include "base/strings/utf_string_conversions.h" |
| 20 #include "base/win/scoped_handle.h" | 21 #include "base/win/scoped_handle.h" |
| 21 #include "chrome/common/chrome_constants.h" | 22 #include "chrome/common/chrome_constants.h" |
| 22 #include "chrome/common/chrome_switches.h" | 23 #include "chrome/common/chrome_switches.h" |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; | 406 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
| 406 logging::InitLogging(settings); | 407 logging::InitLogging(settings); |
| 407 | 408 |
| 408 logging::SetMinLogLevel( | 409 logging::SetMinLogLevel( |
| 409 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableLogging) ? | 410 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableLogging) ? |
| 410 logging::LOG_INFO : logging::LOG_FATAL); | 411 logging::LOG_INFO : logging::LOG_FATAL); |
| 411 | 412 |
| 412 return _AtlModule.WinMain(0); | 413 return _AtlModule.WinMain(0); |
| 413 } | 414 } |
| 414 | 415 |
| OLD | NEW |