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

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

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/command.h
diff --git a/chrome/test/webdriver/commands/command.h b/chrome/test/webdriver/commands/command.h
index 97f0259e9fe1c0bb92021974ea437cae6e8448f6..74b57c4450211da0f158cf9d115b69f3f0b3b551 100644
--- a/chrome/test/webdriver/commands/command.h
+++ b/chrome/test/webdriver/commands/command.h
@@ -29,7 +29,7 @@ class Response;
class Command {
public:
Command(const std::vector<std::string>& path_segments,
- const DictionaryValue* const parameters);
+ DictionaryValue* const parameters);
virtual ~Command();
// Indicates which HTTP methods this command URL responds to.
@@ -99,10 +99,10 @@ class Command {
// Provides the command parameter with the given |key| as a list. Returns
// false if there is no such parameter, or if it is not a list.
- bool GetListParameter(const std::string& key, ListValue** out) const;
+ bool GetListParameter(const std::string& key, const ListValue** out) const;
const std::vector<std::string> path_segments_;
- const scoped_ptr<const DictionaryValue> parameters_;
+ const scoped_ptr<DictionaryValue> parameters_;
private:
#if defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698