diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-05 14:12:21 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-05 14:12:21 +0000 |
commit | f5204c91a8cb2fe58e76da2c48759c06b57530ff (patch) | |
tree | 4b8015a6d4068bf826892dc22702e53e1cf39fc2 /content/test | |
parent | 70852e598175b37d2b1f324030f5eb0802a36178 (diff) | |
download | chromium_src-f5204c91a8cb2fe58e76da2c48759c06b57530ff.zip chromium_src-f5204c91a8cb2fe58e76da2c48759c06b57530ff.tar.gz chromium_src-f5204c91a8cb2fe58e76da2c48759c06b57530ff.tar.bz2 |
Revert 160362 - Move gpu test_switches.* from content to chrome.
It's not used by content at all, so it can live in chrome instead.
R=jam@chromium.org
Review URL: https://codereview.chromium.org/11035003
TBR=tfarina@chromium.org
Review URL: https://codereview.chromium.org/11040057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test')
-rw-r--r-- | content/test/gpu/test_switches.cc | 8 | ||||
-rw-r--r-- | content/test/gpu/test_switches.h | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/content/test/gpu/test_switches.cc b/content/test/gpu/test_switches.cc new file mode 100644 index 0000000..edeb8e68 --- /dev/null +++ b/content/test/gpu/test_switches.cc @@ -0,0 +1,8 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "content/test/gpu/test_switches.h" + +// Use hardware gpu, if available, for tests. +const char switches::kUseGpuInTests[] = "use-gpu-in-tests"; diff --git a/content/test/gpu/test_switches.h b/content/test/gpu/test_switches.h new file mode 100644 index 0000000..1b0605e --- /dev/null +++ b/content/test/gpu/test_switches.h @@ -0,0 +1,16 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CONTENT_TEST_GPU_TEST_SWITCHES_H_ +#define CONTENT_TEST_GPU_TEST_SWITCHES_H_ + +namespace switches { + +// The switches should be documented alongside the definition of their values +// in the .cc file. +extern const char kUseGpuInTests[]; + +} // namespace switches + +#endif // CONTENT_TEST_GPU_TEST_SWITCHES_H_ |