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

Unified Diff: chrome/test/webdriver/commands/keys_command.cc

Issue 10834004: Correct const accessors in base/values.(h|cc) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: One more, Windows-only 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/keys_command.cc
diff --git a/chrome/test/webdriver/commands/keys_command.cc b/chrome/test/webdriver/commands/keys_command.cc
index 0e2b10e4fc16879485efc4ca1ac6f38df3a6db6a..962a886751f3887a387117c9370a829d5e8afd74 100644
--- a/chrome/test/webdriver/commands/keys_command.cc
+++ b/chrome/test/webdriver/commands/keys_command.cc
@@ -13,7 +13,7 @@
namespace webdriver {
KeysCommand::KeysCommand(const std::vector<std::string>& path_segments,
- const DictionaryValue* const parameters)
+ DictionaryValue* const parameters)
: WebDriverCommand(path_segments, parameters) {}
KeysCommand::~KeysCommand() {}
@@ -23,7 +23,7 @@ bool KeysCommand::DoesPost() {
}
void KeysCommand::ExecutePost(Response* const response) {
- ListValue* key_list;
+ const ListValue* key_list;
if (!GetListParameter("value", &key_list)) {
response->SetError(new Error(
kBadRequest, "Missing or invalid 'value' parameter"));

Powered by Google App Engine
This is Rietveld 408576698