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

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

Issue 15772009: [chromedriver] Fix race where we might not wait for page load after navigating. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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_event_listener.cc
diff --git a/chrome/test/chromedriver/chrome/devtools_event_listener.cc b/chrome/test/chromedriver/chrome/devtools_event_listener.cc
new file mode 100644
index 0000000000000000000000000000000000000000..30a023ecae75d245905f9c00037a05b0b2dbd05c
--- /dev/null
+++ b/chrome/test/chromedriver/chrome/devtools_event_listener.cc
@@ -0,0 +1,23 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// 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_event_listener.h"
+
+#include "chrome/test/chromedriver/chrome/status.h"
+
+DevToolsEventListener::~DevToolsEventListener() {}
+
+Status DevToolsEventListener::OnConnected(DevToolsClient* client) {
+ return Status(kOk);
+}
+
+void DevToolsEventListener::OnEvent(DevToolsClient* client,
+ const std::string& method,
+ const base::DictionaryValue& params) {}
+
+Status DevToolsEventListener::OnCommandSuccess(
+ DevToolsClient* client,
+ const std::string& method) {
+ return Status(kOk);
+}
« no previous file with comments | « chrome/test/chromedriver/chrome/devtools_event_listener.h ('k') | chrome/test/chromedriver/chrome/navigation_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698