OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
7 // Need to include this before most other files because it defines | 7 // Need to include this before most other files because it defines |
8 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define | 8 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define |
9 // IPC_MESSAGE_MACROS_LOG_ENABLED so render_messages.h will generate the | 9 // IPC_MESSAGE_MACROS_LOG_ENABLED so render_messages.h will generate the |
10 // ViewMsgLog et al. functions. | 10 // ViewMsgLog et al. functions. |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "base/command_line.h" | 33 #include "base/command_line.h" |
34 #include "base/compiler_specific.h" | 34 #include "base/compiler_specific.h" |
35 #include "base/debug/debugger.h" | 35 #include "base/debug/debugger.h" |
36 #include "base/environment.h" | 36 #include "base/environment.h" |
37 #include "base/file_path.h" | 37 #include "base/file_path.h" |
38 #include "base/file_util.h" | 38 #include "base/file_util.h" |
39 #include "base/logging.h" | 39 #include "base/logging.h" |
40 #include "base/path_service.h" | 40 #include "base/path_service.h" |
41 #include "base/string_number_conversions.h" | 41 #include "base/string_number_conversions.h" |
42 #include "base/string_util.h" | 42 #include "base/string_util.h" |
| 43 #include "base/stringprintf.h" |
43 #include "base/threading/thread_restrictions.h" | 44 #include "base/threading/thread_restrictions.h" |
44 #include "base/time.h" | 45 #include "base/time.h" |
45 #include "base/utf_string_conversions.h" | 46 #include "base/utf_string_conversions.h" |
46 #include "chrome/common/chrome_constants.h" | 47 #include "chrome/common/chrome_constants.h" |
47 #include "chrome/common/chrome_paths.h" | 48 #include "chrome/common/chrome_paths.h" |
48 #include "chrome/common/chrome_switches.h" | 49 #include "chrome/common/chrome_switches.h" |
49 #include "chrome/common/env_vars.h" | 50 #include "chrome/common/env_vars.h" |
50 #include "ipc/ipc_logging.h" | 51 #include "ipc/ipc_logging.h" |
51 | 52 |
52 #if defined(OS_WIN) | 53 #if defined(OS_WIN) |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 assertions->push_back(wide_line); | 446 assertions->push_back(wide_line); |
446 ++assertion_count; | 447 ++assertion_count; |
447 } | 448 } |
448 } | 449 } |
449 log_file.close(); | 450 log_file.close(); |
450 | 451 |
451 return assertion_count; | 452 return assertion_count; |
452 } | 453 } |
453 | 454 |
454 } // namespace logging | 455 } // namespace logging |
OLD | NEW |