blob: ae35578f7ed71cd2b13553a424a235b5e7c821f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (c) 2012 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/chromedriver/session.h"
Session::Session(const std::string& id) : id(id) {}
Session::~Session() {}
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();
}
SessionAccessorImpl::~SessionAccessorImpl() {}
|