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

Unified Diff: chrome/test/webdriver/commands/chrome_commands.h

Issue 8649004: Allow chromedriver to install an extension and get all installed extension IDs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 1 month 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/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_

Powered by Google App Engine
This is Rietveld 408576698