Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: chrome/browser/extensions/extension_apitest.h

Issue 11117011: Keep browser process alive while there are platform apps with background pages running. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_apitest.h
diff --git a/chrome/browser/extensions/extension_apitest.h b/chrome/browser/extensions/extension_apitest.h
index 143f9fd2f2e10c505f07ac731abf52fa09367c82..2c5343fed84a4fb6139c704dde5fa4b7c64c6fd6 100644
--- a/chrome/browser/extensions/extension_apitest.h
+++ b/chrome/browser/extensions/extension_apitest.h
@@ -148,9 +148,15 @@ class ExtensionApiTest : public ExtensionBrowserTest {
bool RunPageTest(const std::string& page_url, int flags);
// Similar to RunExtensionTest, except used for running tests in platform app
- // shell windows.
+ // shell windows. After running the test will close all shell windows and wait
+ // for the background page to be unloaded.
bool RunPlatformAppTest(const char* extension_name);
+ // Similar to RunPlatformAppTest, except after running the test returns
+ // without closing shell windows or waiting for the background page to be
+ // unloaded.
+ bool RunPlatformAppTestReturnImmediately(const char* extension_name);
+
// Start the test server, and store details of its state. Those details
// will be available to javascript tests using chrome.test.getConfig().
bool StartTestServer();

Powered by Google App Engine
This is Rietveld 408576698