| Index: chrome/test/chromedriver/session.cc
|
| diff --git a/chrome/test/chromedriver/session.cc b/chrome/test/chromedriver/session.cc
|
| index 51a409db1e5a96cff0cc78a538cad210c9850c50..ea6da2cac1bc686daec96ce43ed8ca6d7b775b08 100644
|
| --- a/chrome/test/chromedriver/session.cc
|
| +++ b/chrome/test/chromedriver/session.cc
|
| @@ -24,7 +24,7 @@ const int Session::kDefaultPageLoadTimeoutMs = 5 * 60 * 1000;
|
|
|
| Session::Session(const std::string& id)
|
| : id(id),
|
| - thread(("SessionThread_" + id).c_str()),
|
| + quit(false),
|
| detach(false),
|
| sticky_modifiers(0),
|
| mouse_position(0, 0),
|
| @@ -35,7 +35,7 @@ Session::Session(const std::string& id)
|
|
|
| Session::Session(const std::string& id, scoped_ptr<Chrome> chrome)
|
| : id(id),
|
| - thread(("SessionThread_" + id).c_str()),
|
| + quit(false),
|
| detach(false),
|
| chrome(chrome.Pass()),
|
| sticky_modifiers(0),
|
| @@ -96,17 +96,3 @@ scoped_ptr<base::DictionaryValue> Session::CreateCapabilities() {
|
| caps->SetBoolean("nativeEvents", true);
|
| return caps.Pass();
|
| }
|
| -
|
| -SessionAccessorImpl::SessionAccessorImpl(scoped_ptr<Session> session)
|
| - : session_(session.Pass()) {}
|
| -
|
| -Session* SessionAccessorImpl::Access(scoped_ptr<base::AutoLock>* lock) {
|
| - lock->reset(new base::AutoLock(session_lock_));
|
| - return session_.get();
|
| -}
|
| -
|
| -void SessionAccessorImpl::DeleteSession() {
|
| - session_.reset();
|
| -}
|
| -
|
| -SessionAccessorImpl::~SessionAccessorImpl() {}
|
|
|