Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9987)

Unified Diff: chrome/test/automation/tab_proxy.h

Issue 174396: Fix another source of flakiness in ErrorPageTest (Closed)
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/automation/tab_proxy.h
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h
index 9b7232f853daa51df7ca444ed9f16730ccb2568c..c8bb83e954f185e82abd8fefe12b9a78800afe98 100644
--- a/chrome/test/automation/tab_proxy.h
+++ b/chrome/test/automation/tab_proxy.h
@@ -120,10 +120,20 @@ class TabProxy : public AutomationResourceProxy {
// hence blocks until the navigation completes.
AutomationMsg_NavigationResponseValues GoBack();
+ // Equivalent to hitting the Back button. This is a synchronous call and
+ // hence blocks until the |number_of_navigations| navigations complete.
+ AutomationMsg_NavigationResponseValues GoBackBlockUntilNavigationsComplete(
+ int number_of_navigations);
+
// Equivalent to hitting the Forward button. This is a synchronous call and
// hence blocks until the navigation completes.
AutomationMsg_NavigationResponseValues GoForward();
+ // Equivalent to hitting the Forward button. This is a synchronous call and
+ // hence blocks until the |number_of_navigations| navigations complete.
+ AutomationMsg_NavigationResponseValues GoForwardBlockUntilNavigationsComplete(
+ int number_of_navigations);
+
// Equivalent to hitting the Reload button. This is a synchronous call and
// hence blocks until the navigation completes.
AutomationMsg_NavigationResponseValues Reload();

Powered by Google App Engine
This is Rietveld 408576698