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

Side by Side Diff: chrome/test/webdriver/commands/session_with_id.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, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/test/webdriver/commands/session_with_id.h" 5 #include "chrome/test/webdriver/commands/session_with_id.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 #include <string> 8 #include <string>
9 9
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/app/chrome_command_ids.h" 11 #include "chrome/app/chrome_command_ids.h"
12 #include "chrome/common/chrome_constants.h" 12 #include "chrome/common/chrome_constants.h"
13 #include "chrome/test/webdriver/commands/response.h" 13 #include "chrome/test/webdriver/commands/response.h"
14 #include "chrome/test/webdriver/webdriver_session.h" 14 #include "chrome/test/webdriver/webdriver_session.h"
15 15
16 namespace webdriver { 16 namespace webdriver {
17 17
18 SessionWithID::SessionWithID(const std::vector<std::string>& path_segments, 18 SessionWithID::SessionWithID(const std::vector<std::string>& path_segments,
19 const DictionaryValue* const parameters) 19 DictionaryValue* const parameters)
20 : WebDriverCommand(path_segments, parameters) {} 20 : WebDriverCommand(path_segments, parameters) {}
21 21
22 SessionWithID::~SessionWithID() {} 22 SessionWithID::~SessionWithID() {}
23 23
24 bool SessionWithID::DoesGet() { 24 bool SessionWithID::DoesGet() {
25 return true; 25 return true;
26 } 26 }
27 27
28 bool SessionWithID::DoesDelete() { 28 bool SessionWithID::DoesDelete() {
29 return true; 29 return true;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void SessionWithID::ExecuteDelete(Response* const response) { 78 void SessionWithID::ExecuteDelete(Response* const response) {
79 // Session manages its own lifetime, so do not call delete. 79 // Session manages its own lifetime, so do not call delete.
80 session_->Terminate(); 80 session_->Terminate();
81 } 81 }
82 82
83 bool SessionWithID::ShouldRunPreAndPostCommandHandlers() { 83 bool SessionWithID::ShouldRunPreAndPostCommandHandlers() {
84 return false; 84 return false;
85 } 85 }
86 86
87 } // namespace webdriver 87 } // namespace webdriver
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698