diff options
author | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-17 20:57:14 +0000 |
---|---|---|
committer | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-17 20:57:14 +0000 |
commit | 25fd1b2ecec6dbbdf281e954b991644f155e9a35 (patch) | |
tree | d5d368234e4fbf7494512f70478c162c4de9c987 /chrome/browser/extensions/extension_test_api.h | |
parent | 4154786bb3f8655d0a9cb6dee37df90ff735c8e7 (diff) | |
download | chromium_src-25fd1b2ecec6dbbdf281e954b991644f155e9a35.zip chromium_src-25fd1b2ecec6dbbdf281e954b991644f155e9a35.tar.gz chromium_src-25fd1b2ecec6dbbdf281e954b991644f155e9a35.tar.bz2 |
An initial pass at structure to do end-to-end extension API tests. I'll work on actually fleshing out some tests in the next CL.
Review URL: http://codereview.chromium.org/171032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_test_api.h')
-rw-r--r-- | chrome/browser/extensions/extension_test_api.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_test_api.h b/chrome/browser/extensions/extension_test_api.h new file mode 100644 index 0000000..ce7cb9e --- /dev/null +++ b/chrome/browser/extensions/extension_test_api.h @@ -0,0 +1,24 @@ +// Copyright (c) 2009 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_ +#define CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_ + +#include "chrome/browser/extensions/extension_function.h" + +// Function names. +namespace extension_test_api_functions { + extern const char kPassFunction[]; + extern const char kFailFunction[]; +}; // namespace extension_test_api_functions + +class ExtensionTestPassFunction : public SyncExtensionFunction { + virtual bool RunImpl(); +}; + +class ExtensionTestFailFunction : public SyncExtensionFunction { + virtual bool RunImpl(); +}; + +#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_ |