| Index: chromecast/renderer/media/capabilities_message_filter.h
|
| diff --git a/chromecast/renderer/media/capabilities_message_filter.h b/chromecast/renderer/media/capabilities_message_filter.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6c9c1deecd429fde04b93bfed847f997e942809e
|
| --- /dev/null
|
| +++ b/chromecast/renderer/media/capabilities_message_filter.h
|
| @@ -0,0 +1,29 @@
|
| +// 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 CHROMECAST_RENDERER_MEDIA_CAPABILITIES_MESSAGE_FILTER_H_
|
| +#define CHROMECAST_RENDERER_MEDIA_CAPABILITIES_MESSAGE_FILTER_H_
|
| +
|
| +#include "ipc/message_filter.h"
|
| +
|
| +namespace chromecast {
|
| +
|
| +class CapabilitiesMessageFilter : public IPC::MessageFilter {
|
| + public:
|
| + CapabilitiesMessageFilter();
|
| +
|
| + // IPC::ChannelProxy::MessageFilter implementation:
|
| + bool OnMessageReceived(const IPC::Message& message) override;
|
| +
|
| + private:
|
| + ~CapabilitiesMessageFilter() override;
|
| +
|
| + void OnUpdateSupportedHdmiSinkCodecs(int codecs);
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(CapabilitiesMessageFilter);
|
| +};
|
| +
|
| +} // namespace chromecast
|
| +
|
| +#endif // CHROMECAST_RENDERER_MEDIA_CAPABILITIES_MESSAGE_FILTER_H_
|
|
|