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

Unified Diff: chrome/test/gpu/gpu_feature_browsertest.cc

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 | « no previous file | chrome/test/gpu/webgl_infobar_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/gpu/gpu_feature_browsertest.cc
===================================================================
--- chrome/test/gpu/gpu_feature_browsertest.cc (revision 202179)
+++ chrome/test/gpu/gpu_feature_browsertest.cc (working copy)
@@ -20,9 +20,9 @@
#include "content/public/browser/gpu_data_manager.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test_utils.h"
-#include "content/test/gpu/gpu_test_config.h"
#include "gpu/config/gpu_feature_type.h"
#include "gpu/config/gpu_info.h"
+#include "gpu/config/gpu_test_config.h"
#include "net/base/net_util.h"
#include "ui/gl/gl_switches.h"
#include "ui/compositor/compositor_setup.h"
@@ -317,7 +317,7 @@
std::vector<std::string> configs;
configs.push_back("LINUX INTEL");
configs.push_back("MAC VMWARE");
- if (GPUTestBotConfig::CurrentConfigMatches(configs))
+ if (gpu::GPUTestBotConfig::CurrentConfigMatches(configs))
return;
const base::FilePath url(FILE_PATH_LITERAL("feature_multisampling.html"));
@@ -326,7 +326,7 @@
IN_PROC_BROWSER_TEST_F(GpuFeatureTest, MultisamplingBlocked) {
// Multisampling fails on virtualized mac os.
- if (GPUTestBotConfig::CurrentConfigMatches("MAC VMWARE"))
+ if (gpu::GPUTestBotConfig::CurrentConfigMatches("MAC VMWARE"))
return;
const std::string json_blacklist =
@@ -360,7 +360,7 @@
IN_PROC_BROWSER_TEST_F(WebGLMultisamplingTest, MultisamplingDisabled) {
// Multisampling fails on virtualized mac os.
- if (GPUTestBotConfig::CurrentConfigMatches("MAC VMWARE"))
+ if (gpu::GPUTestBotConfig::CurrentConfigMatches("MAC VMWARE"))
return;
const base::FilePath url(FILE_PATH_LITERAL("feature_multisampling.html"));
@@ -369,7 +369,7 @@
IN_PROC_BROWSER_TEST_F(GpuFeatureTest, Canvas2DAllowed) {
// Accelerated canvas 2D is not supported on XP.
- if (GPUTestBotConfig::CurrentConfigMatches("XP"))
+ if (gpu::GPUTestBotConfig::CurrentConfigMatches("XP"))
return;
EXPECT_FALSE(GpuDataManager::GetInstance()->IsFeatureBlacklisted(
« no previous file with comments | « no previous file | chrome/test/gpu/webgl_infobar_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698