#ifndef CHROME_COMMON_EXTENSIONS_API_TAB_CAPTURE_H__
#define CHROME_COMMON_EXTENSIONS_API_TAB_CAPTURE_H__
#include <stdint.h>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/values.h"
#include <string_view>
namespace extensions {
namespace api {
namespace tab_capture {
enum class TabCaptureState { … };
const char* ToString(TabCaptureState as_enum);
TabCaptureState ParseTabCaptureState(std::string_view as_string);
std::u16string GetTabCaptureStateParseError(std::string_view as_string);
struct CaptureInfo { … };
struct MediaStreamConstraint { … };
struct CaptureOptions { … };
struct GetMediaStreamOptions { … };
namespace Capture {
struct Params { … };
namespace Results {
struct Stream { … };
base::Value::List Create(const Stream& stream);
}
}
namespace GetCapturedTabs {
namespace Results {
base::Value::List Create(const std::vector<CaptureInfo>& result);
}
}
namespace GetMediaStreamId {
struct Params { … };
namespace Results {
base::Value::List Create(const std::string& stream_id);
}
}
namespace OnStatusChanged {
extern const char kEventName[];
base::Value::List Create(const CaptureInfo& info);
}
}
}
}
#endif