Index: ios/testing/earl_grey/wait_util.h |
diff --git a/ios/testing/earl_grey/wait_util.h b/ios/testing/earl_grey/wait_util.h |
index e99cce4a3d8f07f731407aed63eda0c3748f55e4..33df9252ec54271c8ab1230833b40dd5d0d658a3 100644 |
--- a/ios/testing/earl_grey/wait_util.h |
+++ b/ios/testing/earl_grey/wait_util.h |
@@ -18,6 +18,9 @@ extern const NSTimeInterval kWaitForUIElementTimeout; |
// Constant for timeout in seconds while waiting for JavaScript completion. |
extern const NSTimeInterval kWaitForJSCompletionTimeout; |
+// Constant for timeout in seconds while waiting for a download to complete. |
+extern const NSTimeInterval kWaitForDownloadTimeout; |
+ |
// Waits until |condition| is true, or induces GREYAssert after |timeout|. |
void WaitUntilCondition(NSTimeInterval timeout, bool (^condition)(void)); |