summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/npapi_test_helper.h
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 18:54:29 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 18:54:29 +0000
commitd20dd3d2b4e62d45b1ecae10d4e9cf743d6b21ed (patch)
treeccfc2ebf64ff833a0a0966e4c13d0f4351cd3637 /chrome/test/ui/npapi_test_helper.h
parent225e07f9674952435e87682addb09f3d7c82d457 (diff)
downloadchromium_src-d20dd3d2b4e62d45b1ecae10d4e9cf743d6b21ed.zip
chromium_src-d20dd3d2b4e62d45b1ecae10d4e9cf743d6b21ed.tar.gz
chromium_src-d20dd3d2b4e62d45b1ecae10d4e9cf743d6b21ed.tar.bz2
Added a test for pepper3d. It ensures that we can successfully load a pepper 3d plugin and render.
Review URL: http://codereview.chromium.org/1073003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/npapi_test_helper.h')
-rw-r--r--chrome/test/ui/npapi_test_helper.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/test/ui/npapi_test_helper.h b/chrome/test/ui/npapi_test_helper.h
index a0c2f3b..8896713 100644
--- a/chrome/test/ui/npapi_test_helper.h
+++ b/chrome/test/ui/npapi_test_helper.h
@@ -7,6 +7,13 @@
#include "chrome/test/ui/ui_test.h"
+namespace npapi_test {
+extern const char kTestCompleteCookie[];
+extern const char kTestCompleteSuccess[];
+const int kLongWaitTimeout = 30 * 1000;
+const int kShortWaitTimeout = 5 * 1000;
+} // namespace npapi_test.
+
// Base class for NPAPI tests. It provides common functionality between
// regular NPAPI plugins and pepper NPAPI plugins. The base classes provide the
// name of the plugin they need test in the constructor. This base class will
@@ -51,11 +58,4 @@ class NPAPIIncognitoTester : public NPAPITester {
virtual void SetUp();
};
-// Helper class pepper NPAPI tests.
-class PepperTester : public NPAPITesterBase {
- protected:
- PepperTester();
- virtual void SetUp();
-};
-
#endif // CHROME_TEST_UI_NPAPI_TEST_HELPER_H_