Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: gpu/config/gpu_test_expectations_parser.h

Issue 15827008: Move gpu_test_config stuff from content/ to gpu/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/config/gpu_test_config_unittest.cc ('k') | gpu/config/gpu_test_expectations_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_test_expectations_parser.h
===================================================================
--- gpu/config/gpu_test_expectations_parser.h (revision 202179)
+++ gpu/config/gpu_test_expectations_parser.h (working copy)
@@ -2,17 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_TEST_GPU_GPU_TEST_EXPECTATIONS_PARSER_H_
-#define CONTENT_TEST_GPU_GPU_TEST_EXPECTATIONS_PARSER_H_
+#ifndef GPU_CONFIG_GPU_TEST_EXPECTATIONS_PARSER_H_
+#define GPU_CONFIG_GPU_TEST_EXPECTATIONS_PARSER_H_
#include <string>
#include <vector>
#include "base/basictypes.h"
#include "base/files/file_path.h"
-#include "content/test/gpu/gpu_test_config.h"
+#include "gpu/config/gpu_test_config.h"
+#include "gpu/gpu_export.h"
-class GPUTestExpectationsParser {
+namespace gpu {
+
+class GPU_EXPORT GPUTestExpectationsParser {
public:
enum GPUTestExpectation {
kGpuTestPass = 1 << 0,
@@ -22,10 +25,6 @@
kGpuTestSkip = 1 << 4,
};
- enum GPUTestProfile {
- kWebGLConformanceTest,
- };
-
GPUTestExpectationsParser();
~GPUTestExpectationsParser();
@@ -34,7 +33,6 @@
// Return true if parsing succeeds.
bool LoadTestExpectations(const std::string& data);
bool LoadTestExpectations(const base::FilePath& path);
- bool LoadTestExpectations(GPUTestProfile profile);
// Query error messages from the last LoadTestExpectations() call.
const std::vector<std::string>& GetErrorMessages() const;
@@ -80,13 +78,11 @@
size_t entry1_line_number,
size_t entry2_line_number);
- // Return false if an error occurs or the path does not exist.
- static bool GetExpectationsPath(GPUTestProfile profile,
- base::FilePath* path);
-
std::vector<GPUTestExpectationEntry> entries_;
std::vector<std::string> error_messages_;
};
-#endif // CONTENT_TEST_GPU_GPU_TEST_EXPECTATIONS_PARSER_H_
+} // namespace gpu
+#endif // GPU_CONFIG_GPU_TEST_EXPECTATIONS_PARSER_H_
+
« no previous file with comments | « gpu/config/gpu_test_config_unittest.cc ('k') | gpu/config/gpu_test_expectations_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698