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_CHROME_ANDROID_IMPL_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/test/chromedriver/chrome/chrome_impl.h" | 12 #include "chrome/test/chromedriver/chrome/chrome_impl.h" |
13 | 13 |
14 class Device; | 14 class Device; |
15 class DevToolsClient; | 15 class DevToolsClient; |
16 class DevToolsHttpClient; | 16 class DevToolsHttpClient; |
17 | 17 |
18 class ChromeAndroidImpl : public ChromeImpl { | 18 class ChromeAndroidImpl : public ChromeImpl { |
19 public: | 19 public: |
20 ChromeAndroidImpl( | 20 ChromeAndroidImpl( |
21 scoped_ptr<DevToolsHttpClient> http_client, | 21 scoped_ptr<DevToolsHttpClient> http_client, |
22 scoped_ptr<DevToolsClient> websocket_client, | 22 scoped_ptr<DevToolsClient> websocket_client, |
23 ScopedVector<DevToolsEventListener>& devtools_event_listeners, | 23 ScopedVector<DevToolsEventListener>& devtools_event_listeners, |
24 scoped_ptr<PortReservation> port_reservation, | 24 scoped_ptr<PortReservation> port_reservation, |
25 scoped_ptr<Device> device); | 25 scoped_ptr<Device> device); |
26 virtual ~ChromeAndroidImpl(); | 26 virtual ~ChromeAndroidImpl(); |
27 | 27 |
28 // Overridden from Chrome: | 28 // Overridden from Chrome: |
29 virtual std::string GetOperatingSystemName() OVERRIDE; | 29 virtual std::string GetOperatingSystemName() override; |
30 | 30 |
31 // Overridden from ChromeImpl: | 31 // Overridden from ChromeImpl: |
32 virtual Status QuitImpl() OVERRIDE; | 32 virtual Status QuitImpl() override; |
33 | 33 |
34 private: | 34 private: |
35 scoped_ptr<Device> device_; | 35 scoped_ptr<Device> device_; |
36 }; | 36 }; |
37 | 37 |
38 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ | 38 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_ |
OLD | NEW |