| 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 // Work around warning in atlbase.h | 5 // Work around warning in atlbase.h |
| 6 // https://connect.microsoft.com/VisualStudio/feedback/details/1032199/atlbase-h
-gives-warning-c4189-when-compiling-with-atl-no-com-support | 6 // https://connect.microsoft.com/VisualStudio/feedback/details/1032199/atlbase-h
-gives-warning-c4189-when-compiling-with-atl-no-com-support |
| 7 #pragma warning(push) | 7 #pragma warning(push) |
| 8 #pragma warning(disable:4189) | 8 #pragma warning(disable:4189) |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #pragma warning(pop) | 10 #pragma warning(pop) |
| 11 #include <security.h> | 11 #include <security.h> |
| 12 #include <stddef.h> |
| 12 | 13 |
| 13 #include <iomanip> | 14 #include <iomanip> |
| 14 #include <iostream> | 15 #include <iostream> |
| 15 #include <iterator> | 16 #include <iterator> |
| 16 #include <string> | 17 #include <string> |
| 17 #include <vector> | 18 #include <vector> |
| 18 | 19 |
| 19 #include "base/at_exit.h" | 20 #include "base/at_exit.h" |
| 20 #include "base/bind.h" | 21 #include "base/bind.h" |
| 21 #include "base/callback_helpers.h" | 22 #include "base/callback_helpers.h" |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; | 422 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
| 422 logging::InitLogging(settings); | 423 logging::InitLogging(settings); |
| 423 | 424 |
| 424 logging::SetMinLogLevel( | 425 logging::SetMinLogLevel( |
| 425 command_line->HasSwitch(switches::kEnableLogging) ? | 426 command_line->HasSwitch(switches::kEnableLogging) ? |
| 426 logging::LOG_INFO : logging::LOG_FATAL); | 427 logging::LOG_INFO : logging::LOG_FATAL); |
| 427 | 428 |
| 428 return _AtlModule.WinMain(0); | 429 return _AtlModule.WinMain(0); |
| 429 } | 430 } |
| 430 | 431 |
| OLD | NEW |