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

Unified Diff: chrome/test/chromedriver/chrome/devtools_client.cc

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: Created 4 years, 11 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/devtools_client.cc
diff --git a/chrome/test/chromedriver/chrome/devtools_client.cc b/chrome/test/chromedriver/chrome/devtools_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..53573b15882b08c2dfec597a01498262cb7a2d21
--- /dev/null
+++ b/chrome/test/chromedriver/chrome/devtools_client.cc
@@ -0,0 +1,22 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
samuong 2016/02/19 20:18:57 it's 2016 :)
Alexander Semashko 2016/02/19 23:38:58 The patch was baking for a long time :) Ok, I'll f
Alexander Semashko 2016/02/24 12:51:20 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/test/chromedriver/chrome/devtools_client.h"
+
+#include "chrome/test/chromedriver/chrome/status.h"
+
+Status DevToolsClient::SendCommandWithTimeout(
+ const std::string& method,
+ const base::DictionaryValue& params,
+ const Timeout* timeout) {
+ return SendCommand(method, params);
+}
+
+Status DevToolsClient::SendCommandAndGetResultWithTimeout(
+ const std::string& method,
+ const base::DictionaryValue& params,
+ const Timeout* timeout,
+ scoped_ptr<base::DictionaryValue>* result) {
+ return SendCommandAndGetResult(method, params, result);
+}

Powered by Google App Engine
This is Rietveld 408576698