#include "chrome/browser/media/router/providers/cast/chrome_cast_message_handler.h"
#include <string>
#include "base/functional/bind.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/media/router/data_decoder_util.h"
#include "components/embedder_support/user_agent_utils.h"
#include "components/media_router/common/providers/cast/channel/cast_message_handler.h"
#include "components/media_router/common/providers/cast/channel/cast_socket_service.h"
#include "components/version_info/version_info.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "services/data_decoder/public/cpp/data_decoder.h"
namespace media_router {
namespace {
void ParseJsonFromIoThread(
const std::string& json,
data_decoder::DataDecoder::ValueParseCallback callback) { … }
}
cast_channel::CastMessageHandler* GetCastMessageHandler() { … }
}