-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathchrome_remote_impl.h
37 lines (29 loc) · 1.28 KB
/
chrome_remote_impl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2014 The Chromium Authors
// 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 "chrome/test/chromedriver/chrome/chrome_impl.h"
#include "chrome/test/chromedriver/chrome/mobile_device.h"
class DevToolsClient;
class ChromeRemoteImpl : public ChromeImpl {
public:
ChromeRemoteImpl(BrowserInfo browser_info,
std::set<WebViewInfo::Type> window_types,
std::unique_ptr<DevToolsClient> websocket_client,
std::vector<std::unique_ptr<DevToolsEventListener>>
devtools_event_listeners,
std::optional<MobileDevice> mobile_device,
std::string page_load_strategy,
bool autoaccept_beforeunload,
bool enable_extension_targets);
~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_