1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_CHROMEOS_H_
10 #include "ash/cast_config_delegate.h"
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h"
13 #include "base/values.h"
17 // A class which allows the ash tray to communicate with the cast extension.
18 class CastConfigDelegateChromeos
: public ash::CastConfigDelegate
{
20 CastConfigDelegateChromeos();
23 ~CastConfigDelegateChromeos() override
;
25 // CastConfigDelegate:
26 bool HasCastExtension() const override
;
27 DeviceUpdateSubscription
RegisterDeviceUpdateObserver(
28 const ReceiversAndActivitesCallback
& callback
) override
;
29 void RequestDeviceRefresh() override
;
30 void CastToReceiver(const std::string
& receiver_id
) override
;
31 void StopCasting() override
;
32 void LaunchCastOptions() override
;
34 DISALLOW_COPY_AND_ASSIGN(CastConfigDelegateChromeos
);
37 } // namespace chromeos
39 #endif // CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_CHROMEOS_H_