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> | 10 #include <iterator> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/at_exit.h" | 14 #include "base/at_exit.h" |
15 #include "base/bind.h" | 15 #include "base/bind.h" |
16 #include "base/callback_helpers.h" | 16 #include "base/callback_helpers.h" |
17 #include "base/command_line.h" | 17 #include "base/command_line.h" |
18 #include "base/file_util.h" | 18 #include "base/files/file_util.h" |
19 #include "base/guid.h" | 19 #include "base/guid.h" |
20 #include "base/logging.h" | 20 #include "base/logging.h" |
21 #include "base/path_service.h" | 21 #include "base/path_service.h" |
22 #include "base/strings/string_util.h" | 22 #include "base/strings/string_util.h" |
23 #include "base/strings/utf_string_conversions.h" | 23 #include "base/strings/utf_string_conversions.h" |
24 #include "base/win/scoped_handle.h" | 24 #include "base/win/scoped_handle.h" |
25 #include "chrome/common/chrome_constants.h" | 25 #include "chrome/common/chrome_constants.h" |
26 #include "chrome/common/chrome_switches.h" | 26 #include "chrome/common/chrome_switches.h" |
27 #include "cloud_print/common/win/cloud_print_utils.h" | 27 #include "cloud_print/common/win/cloud_print_utils.h" |
28 #include "cloud_print/service/service_constants.h" | 28 #include "cloud_print/service/service_constants.h" |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; | 411 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
412 logging::InitLogging(settings); | 412 logging::InitLogging(settings); |
413 | 413 |
414 logging::SetMinLogLevel( | 414 logging::SetMinLogLevel( |
415 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableLogging) ? | 415 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableLogging) ? |
416 logging::LOG_INFO : logging::LOG_FATAL); | 416 logging::LOG_INFO : logging::LOG_FATAL); |
417 | 417 |
418 return _AtlModule.WinMain(0); | 418 return _AtlModule.WinMain(0); |
419 } | 419 } |
420 | 420 |
OLD | NEW |