Index: chrome/browser/sync/test/integration/apps_helper.h |
diff --git a/chrome/browser/sync/test/integration/apps_helper.h b/chrome/browser/sync/test/integration/apps_helper.h |
index 70d3ec415773ac5c93303226efedf1ef45c4f65b..e54a430ac019c363db7fc25b508966da54f32780 100644 |
--- a/chrome/browser/sync/test/integration/apps_helper.h |
+++ b/chrome/browser/sync/test/integration/apps_helper.h |
@@ -84,6 +84,10 @@ void CopyNTPOrdinals(Profile* source, Profile* destination, int index); |
// Fix any NTP icon collisions that are currently in |profile|. |
void FixNTPOrdinalCollisions(Profile* profile); |
+// Wait until there are no lazy background pages loaded. |
+// This needs to be done before exiting tests which installed platform apps. |
+void WaitForPlatformAppsToUnload(); |
+ |
} // namespace apps_helper |
#endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ |