// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_MEDIA_ROUTER_COMMON_MEDIA_SINK_H_ #define COMPONENTS_MEDIA_ROUTER_COMMON_MEDIA_SINK_H_ #include <string> #include "components/media_router/common/media_route_provider_helper.h" #include "components/media_router/common/mojom/media_route_provider_id.mojom.h" #include "third_party/icu/source/common/unicode/uversion.h" namespace U_ICU_NAMESPACE { class Collator; } // namespace U_ICU_NAMESPACE namespace media_router { // IconTypes are listed in the order in which sinks should be sorted. // The values must match media_router::mojom::SinkIconType and // ash::SinkIconType. // // NOTE: This enum is used for recording the MediaRouter.Sink.SelectedType // metrics, so if we want to reorder it, we must create a separate enum that // preserves the ordering, and map from this enum to the new one in // MediaRouterMetrics::RecordMediaSinkType(). enum class SinkIconType { … }; // Represents a sink to which media can be routed. // TODO(zhaobin): convert MediaSink into a struct. class MediaSink { … }; } // namespace media_router #endif // COMPONENTS_MEDIA_ROUTER_COMMON_MEDIA_SINK_H_