Update CrOS OOBE throbber to MD throbber; delete old asset
[chromium-blink-merge.git] / chrome / test / chromedriver / command_listener.h
blob36f77257f6e1799281d293e39695ba2f8fe22c46
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_TEST_CHROMEDRIVER_COMMAND_LISTENER_H_
6 #define CHROME_TEST_CHROMEDRIVER_COMMAND_LISTENER_H_
8 #include <string>
10 class Status;
12 class CommandListener {
13 public:
14 virtual ~CommandListener() {}
16 // Called just before a WebDriver command is run, but only
17 // for commands that operate on an existing session. Will be called for
18 // WindowCommands, ElementCommands, SessionCommands, and AlertCommands.
19 virtual Status BeforeCommand(const std::string& command_name) = 0;
22 #endif // CHROME_TEST_CHROMEDRIVER_COMMAND_LISTENER_H_