| Index: chrome/test/webdriver/commands/title_command.cc
|
| diff --git a/chrome/test/webdriver/commands/title_command.cc b/chrome/test/webdriver/commands/title_command.cc
|
| deleted file mode 100644
|
| index 4e7393e25b39ed6b78f8d5616ae8da8d7cbc58bc..0000000000000000000000000000000000000000
|
| --- a/chrome/test/webdriver/commands/title_command.cc
|
| +++ /dev/null
|
| @@ -1,35 +0,0 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| -// 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/response.h"
|
| -#include "chrome/test/webdriver/webdriver_error.h"
|
| -#include "chrome/test/webdriver/webdriver_session.h"
|
| -
|
| -namespace webdriver {
|
| -
|
| -TitleCommand::TitleCommand(const std::vector<std::string>& path_segments,
|
| - const DictionaryValue* const parameters)
|
| - : WebDriverCommand(path_segments, parameters) {}
|
| -
|
| -TitleCommand::~TitleCommand() {}
|
| -
|
| -bool TitleCommand::DoesGet() {
|
| - return true;
|
| -}
|
| -
|
| -void TitleCommand::ExecuteGet(Response* const response) {
|
| - std::string title;
|
| - Error* error = session_->GetTitle(&title);
|
| - if (error) {
|
| - response->SetError(error);
|
| - return;
|
| - }
|
| - response->SetValue(new StringValue(title));
|
| -}
|
| -
|
| -} // namespace webdriver
|
|
|