| 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);
|
| +}
|
|
|