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

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

Issue 10834004: Correct const accessors in base/values.(h|cc) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reverting webdriver:Command::parameters_ to const Created 8 years, 5 months 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/webelement_commands.h
diff --git a/chrome/test/webdriver/commands/webelement_commands.h b/chrome/test/webdriver/commands/webelement_commands.h
index 287e89d2881431d8459179265e986d9a4b1f266f..c1282e8fe0c0f956c23797f4d99ff706a07364d9 100644
--- a/chrome/test/webdriver/commands/webelement_commands.h
+++ b/chrome/test/webdriver/commands/webelement_commands.h
@@ -47,7 +47,7 @@ class WebElementCommand : public WebDriverCommand {
class ElementAttributeCommand : public WebElementCommand {
public:
ElementAttributeCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementAttributeCommand();
virtual bool DoesGet() OVERRIDE;
@@ -62,7 +62,7 @@ class ElementAttributeCommand : public WebElementCommand {
class ElementClearCommand : public WebElementCommand {
public:
ElementClearCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementClearCommand();
virtual bool DoesPost() OVERRIDE;
@@ -77,7 +77,7 @@ class ElementClearCommand : public WebElementCommand {
class ElementCssCommand : public WebElementCommand {
public:
ElementCssCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementCssCommand();
virtual bool DoesGet() OVERRIDE;
@@ -92,7 +92,7 @@ class ElementCssCommand : public WebElementCommand {
class ElementDisplayedCommand : public WebElementCommand {
public:
ElementDisplayedCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementDisplayedCommand();
virtual bool DoesGet() OVERRIDE;
@@ -107,7 +107,7 @@ class ElementDisplayedCommand : public WebElementCommand {
class ElementEnabledCommand : public WebElementCommand {
public:
ElementEnabledCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementEnabledCommand();
virtual bool DoesGet() OVERRIDE;
@@ -122,7 +122,7 @@ class ElementEnabledCommand : public WebElementCommand {
class ElementEqualsCommand : public WebElementCommand {
public:
ElementEqualsCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementEqualsCommand();
virtual bool DoesGet() OVERRIDE;
@@ -137,7 +137,7 @@ class ElementEqualsCommand : public WebElementCommand {
class ElementLocationCommand : public WebElementCommand {
public:
ElementLocationCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementLocationCommand();
virtual bool DoesGet() OVERRIDE;
@@ -153,7 +153,7 @@ class ElementLocationCommand : public WebElementCommand {
class ElementLocationInViewCommand : public WebElementCommand {
public:
ElementLocationInViewCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementLocationInViewCommand();
virtual bool DoesGet() OVERRIDE;
@@ -168,7 +168,7 @@ class ElementLocationInViewCommand : public WebElementCommand {
class ElementNameCommand : public WebElementCommand {
public:
ElementNameCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementNameCommand();
virtual bool DoesGet() OVERRIDE;
@@ -184,7 +184,7 @@ class ElementNameCommand : public WebElementCommand {
class ElementSelectedCommand : public WebElementCommand {
public:
ElementSelectedCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementSelectedCommand();
virtual bool DoesGet() OVERRIDE;
@@ -201,7 +201,7 @@ class ElementSelectedCommand : public WebElementCommand {
class ElementSizeCommand : public WebElementCommand {
public:
ElementSizeCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementSizeCommand();
virtual bool DoesGet() OVERRIDE;
@@ -216,7 +216,7 @@ class ElementSizeCommand : public WebElementCommand {
class ElementSubmitCommand : public WebElementCommand {
public:
ElementSubmitCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementSubmitCommand();
virtual bool DoesPost() OVERRIDE;
@@ -231,7 +231,7 @@ class ElementSubmitCommand : public WebElementCommand {
class ElementToggleCommand : public WebElementCommand {
public:
ElementToggleCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementToggleCommand();
virtual bool DoesPost() OVERRIDE;
@@ -247,7 +247,7 @@ class ElementToggleCommand : public WebElementCommand {
class ElementValueCommand : public WebElementCommand {
public:
ElementValueCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementValueCommand();
virtual bool DoesGet() OVERRIDE;
@@ -271,7 +271,7 @@ class ElementValueCommand : public WebElementCommand {
class ElementTextCommand : public WebElementCommand {
public:
ElementTextCommand(const std::vector<std::string>& path_segments,
- base::DictionaryValue* parameters);
+ const base::DictionaryValue* parameters);
virtual ~ElementTextCommand();
virtual bool DoesGet() OVERRIDE;
« no previous file with comments | « chrome/test/webdriver/commands/target_locator_commands.cc ('k') | chrome/test/webdriver/commands/webelement_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698