Make the ChromeOS chromecast system tray integration use a private API.
[chromium-blink-merge.git] / chrome / browser / ui / ash / cast_config_delegate_chromeos.h
blobbb01bbf19a4c66070a7400f9dbab787daa8bd15f
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_
8 #include <string>
10 #include "ash/cast_config_delegate.h"
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h"
13 #include "base/values.h"
15 namespace chromeos {
17 // A class which allows the ash tray to communicate with the cast extension.
18 class CastConfigDelegateChromeos : public ash::CastConfigDelegate {
19 public:
20 CastConfigDelegateChromeos();
22 private:
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_