| 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> |
| 63 #endif | 64 #endif |
| 64 | 65 |
| 65 const int kGpuTimeout = 10000; | 66 const int kGpuTimeout = 10000; |
| 66 | 67 |
| 67 namespace content { | 68 namespace content { |
| 68 | 69 |
| 69 namespace { | 70 namespace { |
| 70 | 71 |
| 71 void GetGpuInfoFromCommandLine(gpu::GPUInfo& gpu_info, | 72 void GetGpuInfoFromCommandLine(gpu::GPUInfo& gpu_info, |
| 72 const base::CommandLine& command_line); | 73 const base::CommandLine& command_line); |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 return true; | 526 return true; |
| 526 } | 527 } |
| 527 | 528 |
| 528 return false; | 529 return false; |
| 529 } | 530 } |
| 530 #endif // defined(OS_WIN) | 531 #endif // defined(OS_WIN) |
| 531 | 532 |
| 532 } // namespace. | 533 } // namespace. |
| 533 | 534 |
| 534 } // namespace content | 535 } // namespace content |
| OLD | NEW |