// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_DIAL_MEDIA_SINK_SERVICE_H_ #define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_DIAL_MEDIA_SINK_SERVICE_H_ #include <memory> #include "base/callback_list.h" #include "base/memory/weak_ptr.h" #include "base/sequence_checker.h" #include "base/task/sequenced_task_runner.h" #include "components/media_router/common/discovery/media_sink_internal.h" #include "components/media_router/common/discovery/media_sink_service_util.h" #include "url/origin.h" namespace media_router { class DialMediaSinkServiceImpl; OnDialSinkAddedCallback; // Service to discover DIAL media sinks. All public methods must be invoked on // the UI thread. Delegates to DialMediaSinkServiceImpl by posting tasks to its // SequencedTaskRunner. It is owned by a singleton that is never freed. // TODO(imcheng): Remove this class and moving the logic into a part // of DialMediaSinkServiceImpl that runs on the UI thread, and renaming // DialMediaSinkServiceImpl to DialMediaSinkService. class DialMediaSinkService { … }; } // namespace media_router #endif // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_DIAL_MEDIA_SINK_SERVICE_H_