| 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_PLATFORM_APP_BROWSERTEST_UTIL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_BROWSERTEST_UTIL_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_BROWSERTEST_UTIL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_BROWSERTEST_UTIL_H_ |
| 7 | 7 |
| 8 | 8 |
| 9 #include "chrome/browser/extensions/extension_apitest.h" | 9 #include "chrome/browser/extensions/extension_apitest.h" |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // Sets up the command line for running platform apps. | 61 // Sets up the command line for running platform apps. |
| 62 void SetCommandLineArg(const std::string& test_file); | 62 void SetCommandLineArg(const std::string& test_file); |
| 63 | 63 |
| 64 // Creates an empty shell window for |extension|. | 64 // Creates an empty shell window for |extension|. |
| 65 ShellWindow* CreateShellWindow(const Extension* extension); | 65 ShellWindow* CreateShellWindow(const Extension* extension); |
| 66 | 66 |
| 67 // Closes |window| and waits until it's gone. | 67 // Closes |window| and waits until it's gone. |
| 68 void CloseShellWindow(ShellWindow* window); | 68 void CloseShellWindow(ShellWindow* window); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 class ExperimentalPlatformAppBrowserTest : public PlatformAppBrowserTest { |
| 72 public: |
| 73 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; |
| 74 }; |
| 75 |
| 71 } | 76 } |
| 72 | 77 |
| 73 #endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_BROWSERTEST_UTIL_H_ | 78 #endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_BROWSERTEST_UTIL_H_ |
| OLD | NEW |