| Index: chrome/browser/extensions/extension_apitest.h
|
| diff --git a/chrome/browser/extensions/extension_apitest.h b/chrome/browser/extensions/extension_apitest.h
|
| index d24b5fc16087c8ee60f942e06f8df0757eef2bab..f59b53a1e196a74e87a8015a7beacbdf7c930c6c 100644
|
| --- a/chrome/browser/extensions/extension_apitest.h
|
| +++ b/chrome/browser/extensions/extension_apitest.h
|
| @@ -114,6 +114,10 @@ class ExtensionApiTest : public ExtensionBrowserTest {
|
| // API on the page.
|
| bool RunPageTest(const std::string& page_url);
|
|
|
| + // Similar to RunExtensionTest, except used for running tests in platform app
|
| + // shell windows.
|
| + bool RunPlatformAppTest(const char* extension_name);
|
| +
|
| // Start the test server, and store details of its state. Those details
|
| // will be available to javascript tests using chrome.test.getConfig().
|
| bool StartTestServer();
|
| @@ -129,11 +133,16 @@ class ExtensionApiTest : public ExtensionBrowserTest {
|
| std::string message_;
|
|
|
| private:
|
| + enum Flags {
|
| + kFlagNone = 0,
|
| + kFlagEnableIncognito = 1 << 0,
|
| + kFlagEnableFileAccess = 1 << 1,
|
| + kFlagLoadAsComponent = 1 << 2,
|
| + kFlagLaunchAppShell = 1 << 3
|
| + };
|
| bool RunExtensionTestImpl(const char* extension_name,
|
| const std::string& test_page,
|
| - bool enable_incognito,
|
| - bool enable_fileaccess,
|
| - bool load_as_component);
|
| + int flags);
|
|
|
| // Hold details of the test, set in C++, which can be accessed by
|
| // javascript using chrome.test.getConfig().
|
|
|