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 "content/renderer/renderer_main_platform_delegate.h" | 5 #include "content/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/logging.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "base/win/win_util.h" | 11 #include "base/win/win_util.h" |
12 #include "content/public/common/content_switches.h" | 12 #include "content/public/common/content_switches.h" |
13 #include "content/public/common/injection_test_win.h" | 13 #include "content/public/common/injection_test_win.h" |
14 #include "content/public/renderer/render_thread.h" | 14 #include "content/public/renderer/render_thread.h" |
15 #include "content/renderer/render_thread_impl.h" | 15 #include "content/renderer/render_thread_impl.h" |
16 #include "sandbox/win/src/sandbox.h" | 16 #include "sandbox/win/src/sandbox.h" |
17 #include "skia/ext/vector_platform_device_emf_win.h" | 17 #include "skia/ext/vector_platform_device_emf_win.h" |
18 #include "third_party/icu/public/i18n/unicode/timezone.h" | 18 #include "third_party/icu/source/i18n/unicode/timezone.h" |
19 #include "third_party/skia/include/ports/SkTypeface_win.h" | 19 #include "third_party/skia/include/ports/SkTypeface_win.h" |
20 | 20 |
21 #ifdef ENABLE_VTUNE_JIT_INTERFACE | 21 #ifdef ENABLE_VTUNE_JIT_INTERFACE |
22 #include "v8/src/third_party/vtune/v8-vtune.h" | 22 #include "v8/src/third_party/vtune/v8-vtune.h" |
23 #endif | 23 #endif |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 namespace { | 26 namespace { |
27 | 27 |
28 // Windows-only skia sandbox support | 28 // Windows-only skia sandbox support |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 if (run_security_tests) { | 163 if (run_security_tests) { |
164 int test_count = 0; | 164 int test_count = 0; |
165 DVLOG(1) << "Running renderer security tests"; | 165 DVLOG(1) << "Running renderer security tests"; |
166 BOOL result = run_security_tests(&test_count); | 166 BOOL result = run_security_tests(&test_count); |
167 CHECK(result) << "Test number " << test_count << " has failed."; | 167 CHECK(result) << "Test number " << test_count << " has failed."; |
168 } | 168 } |
169 } | 169 } |
170 } | 170 } |
171 | 171 |
172 } // namespace content | 172 } // namespace content |
OLD | NEW |