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 #include <iterator> |
| 11 #include <string> |
| 12 #include <vector> |
10 | 13 |
11 #include "base/at_exit.h" | 14 #include "base/at_exit.h" |
12 #include "base/bind.h" | 15 #include "base/bind.h" |
13 #include "base/command_line.h" | 16 #include "base/command_line.h" |
14 #include "base/file_util.h" | 17 #include "base/file_util.h" |
15 #include "base/guid.h" | 18 #include "base/guid.h" |
16 #include "base/logging.h" | 19 #include "base/logging.h" |
17 #include "base/path_service.h" | 20 #include "base/path_service.h" |
18 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
19 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; | 408 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
406 logging::InitLogging(settings); | 409 logging::InitLogging(settings); |
407 | 410 |
408 logging::SetMinLogLevel( | 411 logging::SetMinLogLevel( |
409 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableLogging) ? | 412 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableLogging) ? |
410 logging::LOG_INFO : logging::LOG_FATAL); | 413 logging::LOG_INFO : logging::LOG_FATAL); |
411 | 414 |
412 return _AtlModule.WinMain(0); | 415 return _AtlModule.WinMain(0); |
413 } | 416 } |
414 | 417 |
OLD | NEW |