| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/renderer/renderer_main_platform_delegate.h" | 5 #include "chrome/renderer/renderer_main_platform_delegate.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/logging.h" |
| 8 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 9 #include "chrome/common/chrome_constants.h" | 10 #include "chrome/common/chrome_constants.h" |
| 10 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
| 11 #include "chrome/test/injection_test_dll.h" | 12 #include "chrome/test/injection_test_dll.h" |
| 12 #include "gfx/native_theme_win.h" | 13 #include "gfx/native_theme_win.h" |
| 13 #include "sandbox/src/sandbox.h" | 14 #include "sandbox/src/sandbox.h" |
| 14 #include "unicode/timezone.h" | 15 #include "unicode/timezone.h" |
| 15 | 16 |
| 16 namespace { | 17 namespace { |
| 17 | 18 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 kRenderTestCall)); | 133 kRenderTestCall)); |
| 133 DCHECK(run_security_tests); | 134 DCHECK(run_security_tests); |
| 134 if (run_security_tests) { | 135 if (run_security_tests) { |
| 135 int test_count = 0; | 136 int test_count = 0; |
| 136 DLOG(INFO) << "Running renderer security tests"; | 137 DLOG(INFO) << "Running renderer security tests"; |
| 137 BOOL result = run_security_tests(&test_count); | 138 BOOL result = run_security_tests(&test_count); |
| 138 CHECK(result) << "Test number " << test_count << " has failed."; | 139 CHECK(result) << "Test number " << test_count << " has failed."; |
| 139 } | 140 } |
| 140 } | 141 } |
| 141 } | 142 } |
| OLD | NEW |