cast_streaming.h 962 B

12345678910111213141516171819202122232425
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef FUCHSIA_WEB_RUNNERS_CAST_CAST_STREAMING_H_
  5. #define FUCHSIA_WEB_RUNNERS_CAST_CAST_STREAMING_H_
  6. #include <fuchsia/web/cpp/fidl.h>
  7. #include "fuchsia_web/runners/cast/fidl/fidl/chromium/cast/cpp/fidl.h"
  8. // TODO(crbug.com/1082821): Remove unused methods here once the
  9. // Cast Streaming Receiver component has been implemented.
  10. // Name of the Cast Streaming MessagePort.
  11. extern const char kCastStreamingMessagePortName[];
  12. // Returns true if |application_config| is a cast streaming application.
  13. bool IsAppConfigForCastStreaming(
  14. const chromium::cast::ApplicationConfig& application_config);
  15. // Returns the proper origin value for the MessagePort for |app_id|.
  16. std::string GetMessagePortOriginForAppId(const std::string& app_id);
  17. #endif // FUCHSIA_WEB_RUNNERS_CAST_CAST_STREAMING_H_