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 "app/gfx/native_theme_win.h" |
7 #include "base/command_line.h" | 8 #include "base/command_line.h" |
8 #include "base/gfx/native_theme.h" | |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "chrome/common/chrome_constants.h" | 10 #include "chrome/common/chrome_constants.h" |
11 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
12 #include "chrome/test/injection_test_dll.h" | 12 #include "chrome/test/injection_test_dll.h" |
13 #include "sandbox/src/sandbox.h" | 13 #include "sandbox/src/sandbox.h" |
14 #include "unicode/timezone.h" | 14 #include "unicode/timezone.h" |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
18 // In order to have Theme support, we need to connect to the theme service. | 18 // In order to have Theme support, we need to connect to the theme service. |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 kRenderTestCall)); | 132 kRenderTestCall)); |
133 DCHECK(run_security_tests); | 133 DCHECK(run_security_tests); |
134 if (run_security_tests) { | 134 if (run_security_tests) { |
135 int test_count = 0; | 135 int test_count = 0; |
136 DLOG(INFO) << "Running renderer security tests"; | 136 DLOG(INFO) << "Running renderer security tests"; |
137 BOOL result = run_security_tests(&test_count); | 137 BOOL result = run_security_tests(&test_count); |
138 CHECK(result) << "Test number " << test_count << " has failed."; | 138 CHECK(result) << "Test number " << test_count << " has failed."; |
139 } | 139 } |
140 } | 140 } |
141 } | 141 } |
OLD | NEW |