This source file includes following definitions.
- device_
- GetOperatingSystemName
- QuitImpl
#include "chrome/test/chromedriver/chrome/chrome_android_impl.h"
#include "chrome/test/chromedriver/chrome/device_manager.h"
#include "chrome/test/chromedriver/chrome/devtools_http_client.h"
#include "chrome/test/chromedriver/chrome/status.h"
#include "chrome/test/chromedriver/net/port_server.h"
ChromeAndroidImpl::ChromeAndroidImpl(
scoped_ptr<DevToolsHttpClient> client,
ScopedVector<DevToolsEventListener>& devtools_event_listeners,
scoped_ptr<PortReservation> port_reservation,
scoped_ptr<Device> device)
: ChromeImpl(client.Pass(),
devtools_event_listeners,
port_reservation.Pass()),
device_(device.Pass()) {}
ChromeAndroidImpl::~ChromeAndroidImpl() {}
std::string ChromeAndroidImpl::GetOperatingSystemName() {
return "ANDROID";
}
Status ChromeAndroidImpl::QuitImpl() {
return device_->TearDown();
}