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

Unified Diff: chrome/test/chromedriver/net/sync_websocket.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/element_commands.cc ('k') | chrome/test/chromedriver/net/sync_websocket_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/net/sync_websocket.h
diff --git a/chrome/test/chromedriver/net/sync_websocket.h b/chrome/test/chromedriver/net/sync_websocket.h
index 5dd59da54446fd72fbb336f17924f190fbd88458..d5833ff1f9bb32ae44a262a0719beae927416805 100644
--- a/chrome/test/chromedriver/net/sync_websocket.h
+++ b/chrome/test/chromedriver/net/sync_websocket.h
@@ -7,9 +7,8 @@
#include <string>
-#include "base/time/time.h"
-
class GURL;
+class Timeout;
// Proxy for using a WebSocket running on a background thread synchronously.
class SyncWebSocket {
@@ -36,7 +35,7 @@ class SyncWebSocket {
// Returns StatusCode::kDisconnected if the socket is closed.
virtual StatusCode ReceiveNextMessage(
std::string* message,
- const base::TimeDelta& timeout) = 0;
+ const Timeout& timeout) = 0;
// Returns whether there are any messages that have been received and not yet
// handled by ReceiveNextMessage.
« no previous file with comments | « chrome/test/chromedriver/element_commands.cc ('k') | chrome/test/chromedriver/net/sync_websocket_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698