diff options
| author | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-19 23:32:55 +0000 |
|---|---|---|
| committer | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-19 23:32:55 +0000 |
| commit | b7448dc7eac020055d9bc9aee12d1b9ed7dbd466 (patch) | |
| tree | c2689890eff1a27bcb9c50167f015daa21b55f08 /chrome/test/webdriver/commands/title_command.cc | |
| parent | 86469503a695e2ede48244c846053dd9ae91e5fa (diff) | |
| download | chromium_src-b7448dc7eac020055d9bc9aee12d1b9ed7dbd466.zip chromium_src-b7448dc7eac020055d9bc9aee12d1b9ed7dbd466.tar.gz chromium_src-b7448dc7eac020055d9bc9aee12d1b9ed7dbd466.tar.bz2 | |
Cleaning up response.h and moving all of the logic into the .cc file.
Patch by jleyba@chromium.org.
Original review at http://codereview.chromium.org/6543015
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6469071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75506 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/webdriver/commands/title_command.cc')
| -rw-r--r-- | chrome/test/webdriver/commands/title_command.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/test/webdriver/commands/title_command.cc b/chrome/test/webdriver/commands/title_command.cc index 12eaa37..6bb344f 100644 --- a/chrome/test/webdriver/commands/title_command.cc +++ b/chrome/test/webdriver/commands/title_command.cc @@ -2,9 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "chrome/test/webdriver/commands/title_command.h" + #include <string> -#include "chrome/test/webdriver/commands/title_command.h" +#include "chrome/test/webdriver/commands/response.h" namespace webdriver { @@ -25,8 +27,8 @@ void TitleCommand::ExecuteGet(Response* const response) { return; } - response->set_value(new StringValue(title)); - response->set_status(kSuccess); + response->SetValue(new StringValue(title)); + response->SetStatus(kSuccess); } bool TitleCommand::RequiresValidTab() { |
