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 #pragma once | |
8 | 7 |
9 | 8 |
10 #include "chrome/browser/extensions/extension_apitest.h" | 9 #include "chrome/browser/extensions/extension_apitest.h" |
11 | 10 |
12 namespace extensions { | 11 namespace extensions { |
13 class Extension; | 12 class Extension; |
14 } | 13 } |
15 | 14 |
16 namespace content { | 15 namespace content { |
17 class WebContents; | 16 class WebContents; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 void SetCommandLineArg(const std::string& test_file); | 55 void SetCommandLineArg(const std::string& test_file); |
57 | 56 |
58 // Creates an empty shell window for |extension|. | 57 // Creates an empty shell window for |extension|. |
59 ShellWindow* CreateShellWindow(const extensions::Extension* extension); | 58 ShellWindow* CreateShellWindow(const extensions::Extension* extension); |
60 | 59 |
61 // Closes |window| and waits until it's gone. | 60 // Closes |window| and waits until it's gone. |
62 void CloseShellWindow(ShellWindow* window); | 61 void CloseShellWindow(ShellWindow* window); |
63 }; | 62 }; |
64 | 63 |
65 #endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_BROWSERTEST_UTIL_H_ | 64 #endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_BROWSERTEST_UTIL_H_ |
OLD | NEW |