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 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 struct GPUInfo; | 15 struct GPUInfo; |
17 } // namespace content | 16 } // namespace content |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // If gpu_info is NULL, collect GPUInfo first. | 101 // If gpu_info is NULL, collect GPUInfo first. |
103 bool LoadCurrentConfig(const content::GPUInfo* gpu_info); | 102 bool LoadCurrentConfig(const content::GPUInfo* gpu_info); |
104 | 103 |
105 // Check if this bot's config matches |config_data| or any of the |configs|. | 104 // Check if this bot's config matches |config_data| or any of the |configs|. |
106 static bool CurrentConfigMatches(const std::string& config_data); | 105 static bool CurrentConfigMatches(const std::string& config_data); |
107 static bool CurrentConfigMatches(const std::vector<std::string>& configs); | 106 static bool CurrentConfigMatches(const std::vector<std::string>& configs); |
108 }; | 107 }; |
109 | 108 |
110 #endif // CONTENT_TEST_GPU_GPU_TEST_CONFIG_H_ | 109 #endif // CONTENT_TEST_GPU_GPU_TEST_CONFIG_H_ |
111 | 110 |
OLD | NEW |