Index: chrome/test/base/ui_test_utils.h |
diff --git a/chrome/test/base/ui_test_utils.h b/chrome/test/base/ui_test_utils.h |
index 9b94f722d3093cf0a8ef501f5773003cc631f192..3b100cbb6ea628628a190fa5208ddd9a2a82987a 100644 |
--- a/chrome/test/base/ui_test_utils.h |
+++ b/chrome/test/base/ui_test_utils.h |
@@ -18,6 +18,7 @@ |
#include "base/string16.h" |
#include "chrome/browser/ui/view_ids.h" |
#include "chrome/test/automation/dom_element_proxy.h" |
+#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/notification_details.h" |
@@ -83,6 +84,10 @@ void RunMessageLoop(); |
// all pending tasks. |
void RunAllPendingInMessageLoop(); |
+// Blocks the current thread until all the pending messages in the loop of the |
sky
2011/11/18 23:24:56
nit: 'the loop' -> 'the loop'
Jay Civelli
2011/11/19 00:01:12
Done.
|
+// thread |thread_id| have been processed. |
+void RunAllPendingInMessageLoop(content::BrowserThread::ID thread_id); |
+ |
// Puts the current tab title in |title|. Returns true on success. |
bool GetCurrentTabTitle(const Browser* browser, string16* title); |