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

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: Remove DEPS modifications. Created 4 years, 10 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 b48dad44aa1eba3f08399e8bfe49350970fa26cb..6ad94105f8972687ca67ca3e8df9aebe9add9533 100644
--- a/chrome/test/chromedriver/chrome/navigation_tracker.h
+++ b/chrome/test/chromedriver/chrome/navigation_tracker.h
@@ -21,6 +21,7 @@ class DictionaryValue;
struct BrowserInfo;
class DevToolsClient;
class Status;
+class Timeout;
// Tracks the navigation state of the page.
class NavigationTracker : public DevToolsEventListener {
@@ -41,7 +42,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