| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_REMOTE_IMPL_H_ |
| #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_REMOTE_IMPL_H_ |
| |
| #include <memory> |
| #include <string> |
| |
| #include "base/compiler_specific.h" |
| #include "chrome/test/chromedriver/chrome/chrome_impl.h" |
| |
| class DevToolsClient; |
| class DevToolsHttpClient; |
| |
| class ChromeRemoteImpl : public ChromeImpl { |
| public: |
| ChromeRemoteImpl( |
| std::unique_ptr<DevToolsHttpClient> http_client, |
| std::unique_ptr<DevToolsClient> websocket_client, |
| ScopedVector<DevToolsEventListener>& devtools_event_listeners, |
| std::string page_load_strategy); |
| ~ChromeRemoteImpl() override; |
| |
| // Overridden from Chrome. |
| Status GetAsDesktop(ChromeDesktopImpl** desktop) override; |
| std::string GetOperatingSystemName() override; |
| |
| // Overridden from ChromeImpl. |
| Status QuitImpl() override; |
| }; |
| |
| #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_REMOTE_IMPL_H_ |