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

Unified Diff: chrome/test/chromedriver/chrome/navigation_tracker.h

Issue 1669453002: [chromedriver] Apply page load timeout to slow cross-process navigations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pure virtual Created 4 years, 8 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/chromedriver/chrome/navigation_tracker.h
diff --git a/chrome/test/chromedriver/chrome/navigation_tracker.h b/chrome/test/chromedriver/chrome/navigation_tracker.h
index 53699bf4c455bf5c3142d52591009b8d44d08c69..af960464ae9ac1eb782c0503674b034a9c77ca0e 100644
--- a/chrome/test/chromedriver/chrome/navigation_tracker.h
+++ b/chrome/test/chromedriver/chrome/navigation_tracker.h
@@ -22,6 +22,7 @@ struct BrowserInfo;
class DevToolsClient;
class JavaScriptDialogManager;
class Status;
+class Timeout;
// Tracks the navigation state of the page.
class NavigationTracker : public DevToolsEventListener {
@@ -45,7 +46,9 @@ class NavigationTracker : public DevToolsEventListener {
// Gets whether a navigation is pending for the specified frame. |frame_id|
// may be empty to signify the main frame.
- Status IsPendingNavigation(const std::string& frame_id, bool* is_pending);
+ Status IsPendingNavigation(const std::string& frame_id,
+ const Timeout* timeout,
+ bool* is_pending);
void set_timed_out(bool timed_out);

Powered by Google App Engine
This is Rietveld 408576698