Chromium Code Reviews| Index: chrome/browser/ui/ash/cast_config_delegate_chromeos.h |
| diff --git a/chrome/browser/ui/ash/cast_config_delegate_chromeos.h b/chrome/browser/ui/ash/cast_config_delegate_chromeos.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..28554ca4a8f1f2138e775b84047141406d502137 |
| --- /dev/null |
| +++ b/chrome/browser/ui/ash/cast_config_delegate_chromeos.h |
| @@ -0,0 +1,40 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_CHROMEOS_H_ |
| +#define CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_CHROMEOS_H_ |
| + |
| +#include <string> |
| + |
| +#include "ash/cast_config_delegate.h" |
| +#include "base/basictypes.h" |
| +#include "base/compiler_specific.h" |
| +#include "base/values.h" |
| +#include "content/public/browser/browser_context.h" |
|
jennyz
2015/05/07 21:50:35
Not used in this .h file, should be moved to .cc f
jdufault
2015/05/07 23:41:53
Done.
|
| +#include "content/public/browser/render_frame_host.h" |
|
jennyz
2015/05/07 21:50:35
ditto
jdufault
2015/05/07 23:41:53
Done.
|
| + |
| +namespace chromeos { |
| + |
| +// A class which allows the ash tray to communicate with the cast extension. |
| +class CastConfigDelegateChromeos : public ash::CastConfigDelegate { |
| + public: |
| + CastConfigDelegateChromeos(); |
| + |
| + private: |
| + ~CastConfigDelegateChromeos() override; |
| + |
| + // CastConfigDelegate overrides. |
| + bool HasCastExtension() override; |
| + void GetReceiversAndActivities( |
| + const ReceiversAndActivitesCallback& callback) override; |
| + void CastToReceiver(const std::string& receiver_id) override; |
| + void StopCasting(const std::string& activity_id) override; |
| + void LaunchCastOptions() override; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(CastConfigDelegateChromeos); |
| +}; |
| + |
| +} // namespace chromeos |
| + |
| +#endif // CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_CHROMEOS_H_ |