Chromium Code Reviews| Index: chrome/test/webdriver/commands/chrome_commands.h |
| diff --git a/chrome/test/webdriver/commands/chrome_commands.h b/chrome/test/webdriver/commands/chrome_commands.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8ae09bc2c1342477e9e95dde125c7048f593685a |
| --- /dev/null |
| +++ b/chrome/test/webdriver/commands/chrome_commands.h |
| @@ -0,0 +1,39 @@ |
| +// Copyright (c) 2011 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. |
| + |
| +#ifndef CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ |
| +#define CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ |
| + |
| +#include <string> |
| +#include <vector> |
| + |
| +#include "chrome/test/webdriver/commands/webdriver_command.h" |
| + |
| +namespace base { |
| +class DictionaryValue; |
|
dennis_jeffrey
2011/11/22 23:32:16
nit: maybe add a blank line above and below this?
kkania
2011/11/23 17:31:23
i think this is the style for forward declaring in
|
| +} |
| + |
| +namespace webdriver { |
| + |
| +class Response; |
| + |
| +class ExtensionsCommand : public WebDriverCommand { |
| + public: |
| + ExtensionsCommand(const std::vector<std::string>& path_segments, |
| + const base::DictionaryValue* const parameters); |
| + virtual ~ExtensionsCommand(); |
| + |
| + virtual bool DoesGet(); |
| + virtual bool DoesPost(); |
| + |
| + virtual void ExecuteGet(Response* const response); |
| + virtual void ExecutePost(Response* const response); |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ExtensionsCommand); |
| +}; |
| + |
| +} // namespace webdriver |
| + |
| +#endif // CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ |