Chromium Code Reviews| Index: chrome/test/webdriver/commands/create_session.cc |
| diff --git a/chrome/test/webdriver/commands/create_session.cc b/chrome/test/webdriver/commands/create_session.cc |
| index b23158e02b18cc88c7d60e395ef09dbd92a235b7..51e79b8deb867a685679322c01e146fd5769e7d9 100644 |
| --- a/chrome/test/webdriver/commands/create_session.cc |
| +++ b/chrome/test/webdriver/commands/create_session.cc |
| @@ -30,17 +30,17 @@ void CreateSession::ExecutePost(Response* const response) { |
| // Session manages its own liftime, so do not call delete. |
| Session* session = new Session(); |
| - if (!session->Init(session_manager->chrome_dir())) { |
| + if (!session->Init(session_manager->ChromeDir())) { |
|
kkania
2011/03/07 18:15:17
why'd you change this name?
|
| SET_WEBDRIVER_ERROR(response, |
| "Failed to initialize session", |
| kInternalServerError); |
| return; |
| } |
| - VLOG(1) << "Created session " << session->id(); |
| + VLOG(1) << "Created session " << session->Id(); |
| std::ostringstream stream; |
| stream << "http://" << session_manager->GetAddress() << "/session/" |
| - << session->id(); |
| + << session->Id(); |
| response->SetStatus(kSeeOther); |
| response->SetValue(Value::CreateStringValue(stream.str())); |
| } |