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
content / browser / devtools / devtools_device_request_prompt_info.h [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_DEVICE_REQUEST_PROMPT_INFO_H_
#define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_DEVICE_REQUEST_PROMPT_INFO_H_
#include <string>
#include <vector>
namespace content {
struct DevtoolsDeviceRequestPromptDevice {
std::string id;
std::string name;
};
class DevtoolsDeviceRequestPromptInfo {
public:
virtual ~DevtoolsDeviceRequestPromptInfo() = default;
virtual std::vector<DevtoolsDeviceRequestPromptDevice> GetDevices() = 0;
virtual bool SelectDevice(const std::string& device_id) = 0;
virtual void Cancel() = 0;
};
} // namespace content
#endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_DEVICE_REQUEST_PROMPT_INFO_H_