| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 int flags); | 180 int flags); |
| 181 | 181 |
| 182 // Hold details of the test, set in C++, which can be accessed by | 182 // Hold details of the test, set in C++, which can be accessed by |
| 183 // javascript using chrome.test.getConfig(). | 183 // javascript using chrome.test.getConfig(). |
| 184 scoped_ptr<DictionaryValue> test_config_; | 184 scoped_ptr<DictionaryValue> test_config_; |
| 185 | 185 |
| 186 // Hold the test WebSocket server. | 186 // Hold the test WebSocket server. |
| 187 scoped_ptr<content::TestWebSocketServer> websocket_server_; | 187 scoped_ptr<content::TestWebSocketServer> websocket_server_; |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 // PlatformAppApiTest sets up the command-line flags necessary for platform | |
| 191 // apps (if any). | |
| 192 class PlatformAppApiTest : public ExtensionApiTest { | |
| 193 public: | |
| 194 PlatformAppApiTest(); | |
| 195 virtual ~PlatformAppApiTest(); | |
| 196 | |
| 197 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; | |
| 198 }; | |
| 199 | |
| 200 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ | 190 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ |
| OLD | NEW |