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 94393c77bea598609164b8de822bb89caa640632..5c83f89f28441526dddc50caf404fe3eeb31ca32 100644 |
| --- a/chrome/browser/extensions/extension_apitest.h |
| +++ b/chrome/browser/extensions/extension_apitest.h |
| @@ -168,4 +168,21 @@ 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) OVERRIDE; |
| + |
| + protected: |
| + void VerifyPermissions(const FilePath& extension_path); |
|
jstritar
2012/03/26 13:41:51
Do these VerifyPermissions tests really get us muc
miket_OOO
2012/03/26 15:19:57
That's a fair point. It's a bit of a belt-and-susp
jstritar
2012/03/27 15:16:09
We could also override ExtensionBrowserTest::RunEx
|
| + |
| + private: |
| + CommandLine previous_command_line_; |
| +}; |
| + |
| #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ |