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

Side by Side 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 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ 5 #ifndef CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_
6 #define CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ 6 #define CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 17 matching lines...) Expand all
28 virtual bool DoesGet() OVERRIDE; 28 virtual bool DoesGet() OVERRIDE;
29 virtual bool DoesPost() OVERRIDE; 29 virtual bool DoesPost() OVERRIDE;
30 30
31 virtual void ExecuteGet(Response* const response) OVERRIDE; 31 virtual void ExecuteGet(Response* const response) OVERRIDE;
32 virtual void ExecutePost(Response* const response) OVERRIDE; 32 virtual void ExecutePost(Response* const response) OVERRIDE;
33 33
34 private: 34 private:
35 DISALLOW_COPY_AND_ASSIGN(ExtensionsCommand); 35 DISALLOW_COPY_AND_ASSIGN(ExtensionsCommand);
36 }; 36 };
37 37
38 class ViewsCommand : public WebDriverCommand {
39 public:
40 ViewsCommand(const std::vector<std::string>& path_segments,
41 const base::DictionaryValue* const parameters);
42 virtual ~ViewsCommand();
43
44 virtual bool DoesGet() OVERRIDE;
45 virtual bool DoesPost() OVERRIDE;
46
47 virtual void ExecuteGet(Response* const response) OVERRIDE;
48 virtual void ExecutePost(Response* const response) OVERRIDE;
49
50 private:
51 DISALLOW_COPY_AND_ASSIGN(ViewsCommand);
52 };
53
38 } // namespace webdriver 54 } // namespace webdriver
39 55
40 #endif // CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ 56 #endif // CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_json_requests.cc ('k') | chrome/test/webdriver/commands/chrome_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698