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

Unified Diff: chrome/test/chromedriver/net/sync_websocket_impl.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
« no previous file with comments | « chrome/test/chromedriver/net/sync_websocket.h ('k') | chrome/test/chromedriver/net/sync_websocket_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/net/sync_websocket_impl.h
diff --git a/chrome/test/chromedriver/net/sync_websocket_impl.h b/chrome/test/chromedriver/net/sync_websocket_impl.h
index ab328f7974312ac17725fedee646d19b2736a739..d6adeeb9f21ea2a102ad80d356c9123011773842 100644
--- a/chrome/test/chromedriver/net/sync_websocket_impl.h
+++ b/chrome/test/chromedriver/net/sync_websocket_impl.h
@@ -37,7 +37,7 @@ class SyncWebSocketImpl : public SyncWebSocket {
bool Connect(const GURL& url) override;
bool Send(const std::string& message) override;
StatusCode ReceiveNextMessage(std::string* message,
- const base::TimeDelta& timeout) override;
+ const Timeout& timeout) override;
bool HasNextMessage() override;
private:
@@ -52,7 +52,7 @@ class SyncWebSocketImpl : public SyncWebSocket {
bool Send(const std::string& message);
SyncWebSocket::StatusCode ReceiveNextMessage(
std::string* message,
- const base::TimeDelta& timeout);
+ const Timeout& timeout);
bool HasNextMessage();
// Overriden from WebSocketListener:
« no previous file with comments | « chrome/test/chromedriver/net/sync_websocket.h ('k') | chrome/test/chromedriver/net/sync_websocket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698