OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_REMOTE_IMPL_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_REMOTE_IMPL_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_REMOTE_IMPL_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_REMOTE_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 DevToolsClient; | 14 class DevToolsClient; |
15 class DevToolsHttpClient; | 15 class DevToolsHttpClient; |
16 | 16 |
17 class ChromeRemoteImpl : public ChromeImpl { | 17 class ChromeRemoteImpl : public ChromeImpl { |
18 public: | 18 public: |
19 ChromeRemoteImpl( | 19 ChromeRemoteImpl( |
20 scoped_ptr<DevToolsHttpClient> http_client, | 20 scoped_ptr<DevToolsHttpClient> http_client, |
21 scoped_ptr<DevToolsClient> websocket_client, | 21 scoped_ptr<DevToolsClient> websocket_client, |
22 ScopedVector<DevToolsEventListener>& devtools_event_listeners); | 22 ScopedVector<DevToolsEventListener>& devtools_event_listeners); |
23 virtual ~ChromeRemoteImpl(); | 23 virtual ~ChromeRemoteImpl(); |
24 | 24 |
25 // Overridden from Chrome. | 25 // Overridden from Chrome. |
26 virtual std::string GetOperatingSystemName() OVERRIDE; | 26 virtual std::string GetOperatingSystemName() override; |
27 | 27 |
28 // Overridden from ChromeImpl. | 28 // Overridden from ChromeImpl. |
29 virtual Status QuitImpl() OVERRIDE; | 29 virtual Status QuitImpl() override; |
30 }; | 30 }; |
31 | 31 |
32 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_REMOTE_IMPL_H_ | 32 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_REMOTE_IMPL_H_ |
OLD | NEW |