blob: 7fd62bb31447d3cd64b118124a19e8e8ba9388f5 [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/cast_streaming/common/public/features.h"
#include "components/cast_streaming/buildflags.h"
namespace cast_streaming {
bool IsCastRemotingEnabled() {
#if BUILDFLAG(CAST_STREAMING_ENABLE_REMOTING)
return true;
#else // BUILDFLAG(CAST_STREAMING_ENABLE_REMOTING)
return false;
#endif // BUILDFLAG(CAST_STREAMING_ENABLE_REMOTING)
}
} // namespace cast_streaming