Chromium Code Reviews| Index: chrome/browser/extensions/extension_apitest.h |
| diff --git a/chrome/browser/extensions/extension_apitest.h b/chrome/browser/extensions/extension_apitest.h |
| index 1d4d43a5fcbaa164d9cb37a4f921522339f02587..1a8c02a53a064e3890adcb549fb78cf54930c606 100644 |
| --- a/chrome/browser/extensions/extension_apitest.h |
| +++ b/chrome/browser/extensions/extension_apitest.h |
| @@ -166,4 +166,19 @@ class ExtensionApiTest : public ExtensionBrowserTest { |
| scoped_ptr<ui_test_utils::TestWebSocketServer> websocket_server_; |
| }; |
| +// PlatformAppApiTest sets up the command-line flags necessary for platform |
| +// apps (if any), and provides a convenience method for confirming that your |
| +// API requires those flags. |
| +class PlatformAppApiTest : public ExtensionApiTest { |
| + public: |
| + PlatformAppApiTest(); |
| + virtual ~PlatformAppApiTest(); |
| + |
| + virtual void SetUpCommandLine(CommandLine* command_line); |
|
Mihai Parparita -not on Chrome
2012/03/22 19:52:34
Add OVERRIDE
|
| + void VerifyPermissions(const FilePath& extension_path); |
|
Mihai Parparita -not on Chrome
2012/03/22 19:52:34
Nit: this should be protected?
|
| + |
| + private: |
| + CommandLine previous_command_line_; |
| +}; |
| + |
| #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ |