#include "chrome/browser/ui/media_router/media_router_ui_service.h"
#include "base/functional/bind.h"
#include "base/observer_list.h"
#include "chrome/browser/media/router/media_router_feature.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/global_media_controls/media_notification_service_factory.h"
#include "chrome/browser/ui/media_router/media_router_ui_service_factory.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_change_registrar.h"
#include "components/user_prefs/user_prefs.h"
namespace media_router {
MediaRouterUIService::MediaRouterUIService(Profile* profile)
: … { … }
MediaRouterUIService::MediaRouterUIService(
Profile* profile,
std::unique_ptr<CastToolbarButtonController> action_controller)
: … { … }
MediaRouterUIService::~MediaRouterUIService() { … }
void MediaRouterUIService::Shutdown() { … }
MediaRouterUIService* MediaRouterUIService::Get(Profile* profile) { … }
CastToolbarButtonController* MediaRouterUIService::action_controller() { … }
void MediaRouterUIService::AddObserver(Observer* observer) { … }
void MediaRouterUIService::RemoveObserver(Observer* observer) { … }
void MediaRouterUIService::ConfigureService() { … }
void MediaRouterUIService::DisableService() { … }
}