| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 int flags); | 176 int flags); |
| 177 | 177 |
| 178 // Hold details of the test, set in C++, which can be accessed by | 178 // Hold details of the test, set in C++, which can be accessed by |
| 179 // javascript using chrome.test.getConfig(). | 179 // javascript using chrome.test.getConfig(). |
| 180 scoped_ptr<DictionaryValue> test_config_; | 180 scoped_ptr<DictionaryValue> test_config_; |
| 181 | 181 |
| 182 // Hold the test WebSocket server. | 182 // Hold the test WebSocket server. |
| 183 scoped_ptr<net::TestServer> websocket_server_; | 183 scoped_ptr<net::TestServer> websocket_server_; |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 // PlatformAppApiTest sets up the command-line flags necessary for platform | |
| 187 // apps (if any). | |
| 188 class PlatformAppApiTest : public ExtensionApiTest { | |
| 189 public: | |
| 190 PlatformAppApiTest(); | |
| 191 virtual ~PlatformAppApiTest(); | |
| 192 | |
| 193 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; | |
| 194 }; | |
| 195 | |
| 196 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ | 186 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ |
| OLD | NEW |