| Index: chrome/test/ui_test_utils.h
|
| diff --git a/chrome/test/ui_test_utils.h b/chrome/test/ui_test_utils.h
|
| index c25356edfbcdc93cabeb482963d73e91d696f4bd..2554a7d37256694fdbef5259d82bd5e10c2b1a4e 100644
|
| --- a/chrome/test/ui_test_utils.h
|
| +++ b/chrome/test/ui_test_utils.h
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/common/notification_observer.h"
|
|
|
| class Browser;
|
| +class DownloadManager;
|
| class GURL;
|
| class NavigationController;
|
| class Value;
|
| @@ -72,6 +73,10 @@ bool ExecuteJavaScriptAndExtractString(TabContents* tab_contents,
|
| std::string* result);
|
|
|
| GURL GetTestUrl(const std::wstring& dir, const std::wstring file);
|
| +
|
| +// Creates an observer that waits for |download_manager| to report that it
|
| +// has a total of |count| downloads that have been handles
|
| +void WaitForDownloadCount(DownloadManager* download_manager, size_t count);
|
| }
|
|
|
| #endif // CHROME_TEST_UI_TEST_UTILS_H_
|
|
|