#ifndef CHROME_BROWSER_UI_MEDIA_ROUTER_MEDIA_ROUTER_UI_HELPER_H_
#define CHROME_BROWSER_UI_MEDIA_ROUTER_MEDIA_ROUTER_UI_HELPER_H_
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "chrome/browser/ui/media_router/media_cast_mode.h"
#include "components/media_router/browser/media_router.h"
#include "components/media_router/common/media_sink.h"
#include "components/media_router/common/media_source.h"
#include "media/base/audio_codecs.h"
#include "media/base/video_codecs.h"
#include "url/origin.h"
namespace extensions {
class ExtensionRegistry;
}
class GURL;
namespace media_router {
class StartPresentationContext;
std::string GetExtensionName(const GURL& url,
extensions::ExtensionRegistry* registry);
std::string GetHostFromURL(const GURL& gurl);
base::TimeDelta GetRouteRequestTimeout(MediaCastMode cast_mode);
bool RequiresScreenCapturePermission(MediaCastMode cast_mode);
bool GetScreenCapturePermission();
void set_screen_capture_allowed_for_testing(bool allowed);
void clear_screen_capture_allowed_for_testing();
MediaRouteResultCallback;
struct RouteRequest { … };
struct MediaRouterUIParameters { … };
struct RouteParameters { … };
}
#endif