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

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

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: Delegated 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.cc
diff --git a/chrome/browser/extensions/extension_apitest.cc b/chrome/browser/extensions/extension_apitest.cc
index f70b3b12768c29246d9d2cbd02a4ed3c31b930c9..da56973f9f5a52e5808ab5ae5c610f532086dc42 100644
--- a/chrome/browser/extensions/extension_apitest.cc
+++ b/chrome/browser/extensions/extension_apitest.cc
@@ -173,6 +173,13 @@ bool ExtensionApiTest::RunPageTest(const std::string& page_url,
}
bool ExtensionApiTest::RunPlatformAppTest(const char* extension_name) {
+ bool res = RunPlatformAppTestReturnImmediately(extension_name);
+ CloseShellWindowsAndWaitForAppToExit();
+ return res;
+}
+
+bool ExtensionApiTest::RunPlatformAppTestReturnImmediately(
+ const char* extension_name) {
return RunExtensionTestImpl(extension_name, "", kFlagLaunchPlatformApp);
}

Powered by Google App Engine
This is Rietveld 408576698