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

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

Issue 353063005: [ChromeDriver] Subscribe PerformanceLogger to CommandListener interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unnecessary check in test Created 6 years, 5 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/command_listener_proxy.cc
diff --git a/chrome/test/chromedriver/command_listener_proxy.cc b/chrome/test/chromedriver/command_listener_proxy.cc
new file mode 100644
index 0000000000000000000000000000000000000000..bc1e94c846c1a92b2d6298186f2c17b3bc1398f2
--- /dev/null
+++ b/chrome/test/chromedriver/command_listener_proxy.cc
@@ -0,0 +1,19 @@
+// Copyright 2014 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_client.h"
+#include "chrome/test/chromedriver/chrome/status.h"
+#include "chrome/test/chromedriver/command_listener_proxy.h"
+#include "chrome/test/chromedriver/logging.h"
+
+CommandListenerProxy::CommandListenerProxy(
+ CommandListener* command_listener) : command_listener_(command_listener) {
+ CHECK(command_listener_);
+}
+
+CommandListenerProxy::~CommandListenerProxy() { }
+
+Status CommandListenerProxy::BeforeCommand(const std::string& command_name) {
+ return command_listener_->BeforeCommand(command_name);
+}
« no previous file with comments | « chrome/test/chromedriver/command_listener_proxy.h ('k') | chrome/test/chromedriver/command_listener_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698