| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_ANDROID_IMPL_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ |
| 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_ANDROID_IMPL_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
| 10 #include "base/process.h" | 10 #include "base/process.h" |
| 11 #include "chrome/test/chromedriver/chrome_impl.h" | 11 #include "chrome/test/chromedriver/chrome/chrome_impl.h" |
| 12 #include "chrome/test/chromedriver/net/sync_websocket_factory.h" | 12 #include "chrome/test/chromedriver/net/sync_websocket_factory.h" |
| 13 | 13 |
| 14 class Status; | 14 class Status; |
| 15 class URLRequestContextGetter; | 15 class URLRequestContextGetter; |
| 16 | 16 |
| 17 class ChromeAndroidImpl : public ChromeImpl { | 17 class ChromeAndroidImpl : public ChromeImpl { |
| 18 public: | 18 public: |
| 19 ChromeAndroidImpl(URLRequestContextGetter* context_getter, | 19 ChromeAndroidImpl(URLRequestContextGetter* context_getter, |
| 20 int port, | 20 int port, |
| 21 const SyncWebSocketFactory& socket_factory); | 21 const SyncWebSocketFactory& socket_factory); |
| 22 virtual ~ChromeAndroidImpl(); | 22 virtual ~ChromeAndroidImpl(); |
| 23 | 23 |
| 24 virtual Status Launch(const std::string& package_name); | 24 virtual Status Launch(const std::string& package_name); |
| 25 | 25 |
| 26 // Overriden from Chrome: | 26 // Overriden from Chrome: |
| 27 virtual std::string GetOperatingSystemName() OVERRIDE; | 27 virtual std::string GetOperatingSystemName() OVERRIDE; |
| 28 | 28 |
| 29 // Overridden from ChromeImpl: | 29 // Overridden from ChromeImpl: |
| 30 virtual Status Quit() OVERRIDE; | 30 virtual Status Quit() OVERRIDE; |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_ANDROID_IMPL_H_ | 33 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ |
| OLD | NEW |