| 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 <stdlib.h> | 5 #include <stdlib.h> |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <dwmapi.h> | 8 #include <dwmapi.h> |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 #endif | 10 #endif |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "content/public/common/sandbox_init.h" | 53 #include "content/public/common/sandbox_init.h" |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 #if defined(OS_MACOSX) | 56 #if defined(OS_MACOSX) |
| 57 #include "base/message_loop/message_pump_mac.h" | 57 #include "base/message_loop/message_pump_mac.h" |
| 58 #include "content/common/sandbox_mac.h" | 58 #include "content/common/sandbox_mac.h" |
| 59 #endif | 59 #endif |
| 60 | 60 |
| 61 #if defined(ADDRESS_SANITIZER) | 61 #if defined(ADDRESS_SANITIZER) |
| 62 #include <sanitizer/asan_interface.h> | 62 #include <sanitizer/asan_interface.h> |
| 63 #include <sanitizer/coverage_interface.h> | |
| 64 #endif | 63 #endif |
| 65 | 64 |
| 66 const int kGpuTimeout = 10000; | 65 const int kGpuTimeout = 10000; |
| 67 | 66 |
| 68 namespace content { | 67 namespace content { |
| 69 | 68 |
| 70 namespace { | 69 namespace { |
| 71 | 70 |
| 72 void GetGpuInfoFromCommandLine(gpu::GPUInfo& gpu_info, | 71 void GetGpuInfoFromCommandLine(gpu::GPUInfo& gpu_info, |
| 73 const base::CommandLine& command_line); | 72 const base::CommandLine& command_line); |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 return true; | 525 return true; |
| 527 } | 526 } |
| 528 | 527 |
| 529 return false; | 528 return false; |
| 530 } | 529 } |
| 531 #endif // defined(OS_WIN) | 530 #endif // defined(OS_WIN) |
| 532 | 531 |
| 533 } // namespace. | 532 } // namespace. |
| 534 | 533 |
| 535 } // namespace content | 534 } // namespace content |
| OLD | NEW |