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); |
} |