1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ 7 8 #include <string> 9 10 #include "base/compiler_specific.h" 11 #include "base/memory/scoped_ptr.h" 12 #include "chrome/test/chromedriver/chrome/chrome_impl.h" 13 14 class Device; 15 class DevToolsHttpClient; 16 17 class ChromeAndroidImpl : public ChromeImpl { 18 public: 19 ChromeAndroidImpl( 20 scoped_ptr<DevToolsHttpClient> client, 21 ScopedVector<DevToolsEventListener>& devtools_event_listeners, 22 scoped_ptr<PortReservation> port_reservation, 23 scoped_ptr<Device> device); 24 virtual ~ChromeAndroidImpl(); 25 26 // Overridden from Chrome: 27 virtual std::string GetOperatingSystemName() OVERRIDE; 28 29 // Overridden from ChromeImpl: 30 virtual Status QuitImpl() OVERRIDE; 31 32 private: 33 scoped_ptr<Device> device_; 34 }; 35 36 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ 37