| 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 #ifndef CONTENT_TEST_GPU_GPU_TEST_CONFIG_H_ | 5 #ifndef CONTENT_TEST_GPU_GPU_TEST_CONFIG_H_ |
| 6 #define CONTENT_TEST_GPU_GPU_TEST_CONFIG_H_ | 6 #define CONTENT_TEST_GPU_GPU_TEST_CONFIG_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 kOsWinXP = 1 << 0, | 22 kOsWinXP = 1 << 0, |
| 23 kOsWinVista = 1 << 1, | 23 kOsWinVista = 1 << 1, |
| 24 kOsWin7 = 1 << 2, | 24 kOsWin7 = 1 << 2, |
| 25 kOsWin = kOsWinXP | kOsWinVista | kOsWin7, | 25 kOsWin = kOsWinXP | kOsWinVista | kOsWin7, |
| 26 kOsMacLeopard = 1 << 3, | 26 kOsMacLeopard = 1 << 3, |
| 27 kOsMacSnowLeopard = 1 << 4, | 27 kOsMacSnowLeopard = 1 << 4, |
| 28 kOsMacLion = 1 << 5, | 28 kOsMacLion = 1 << 5, |
| 29 kOsMac = kOsMacLeopard | kOsMacSnowLeopard | kOsMacLion, | 29 kOsMac = kOsMacLeopard | kOsMacSnowLeopard | kOsMacLion, |
| 30 kOsLinux = 1 << 6, | 30 kOsLinux = 1 << 6, |
| 31 kOsChromeOS = 1 << 7, | 31 kOsChromeOS = 1 << 7, |
| 32 kOsAndroid = 1 << 8, |
| 32 }; | 33 }; |
| 33 | 34 |
| 34 enum BuildType { | 35 enum BuildType { |
| 35 kBuildTypeUnknown = 0, | 36 kBuildTypeUnknown = 0, |
| 36 kBuildTypeRelease = 1 << 0, | 37 kBuildTypeRelease = 1 << 0, |
| 37 kBuildTypeDebug = 1 << 1, | 38 kBuildTypeDebug = 1 << 1, |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 GPUTestConfig(); | 41 GPUTestConfig(); |
| 41 virtual ~GPUTestConfig(); | 42 virtual ~GPUTestConfig(); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // If gpu_info is NULL, collect GPUInfo first. | 102 // If gpu_info is NULL, collect GPUInfo first. |
| 102 bool LoadCurrentConfig(const content::GPUInfo* gpu_info); | 103 bool LoadCurrentConfig(const content::GPUInfo* gpu_info); |
| 103 | 104 |
| 104 // Check if this bot's config matches |config_data| or any of the |configs|. | 105 // Check if this bot's config matches |config_data| or any of the |configs|. |
| 105 static bool CurrentConfigMatches(const std::string& config_data); | 106 static bool CurrentConfigMatches(const std::string& config_data); |
| 106 static bool CurrentConfigMatches(const std::vector<std::string>& configs); | 107 static bool CurrentConfigMatches(const std::vector<std::string>& configs); |
| 107 }; | 108 }; |
| 108 | 109 |
| 109 #endif // CONTENT_TEST_GPU_GPU_TEST_CONFIG_H_ | 110 #endif // CONTENT_TEST_GPU_GPU_TEST_CONFIG_H_ |
| 110 | 111 |
| OLD | NEW |