OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROMECAST_RENDERER_MEDIA_CAPABILITIES_MESSAGE_FILTER_H_ |
| 6 #define CHROMECAST_RENDERER_MEDIA_CAPABILITIES_MESSAGE_FILTER_H_ |
| 7 |
| 8 #include "ipc/message_filter.h" |
| 9 |
| 10 namespace chromecast { |
| 11 |
| 12 class CapabilitiesMessageFilter : public IPC::MessageFilter { |
| 13 public: |
| 14 CapabilitiesMessageFilter(); |
| 15 |
| 16 // IPC::ChannelProxy::MessageFilter implementation: |
| 17 bool OnMessageReceived(const IPC::Message& message) override; |
| 18 |
| 19 private: |
| 20 ~CapabilitiesMessageFilter() override; |
| 21 |
| 22 void OnUpdateSupportedHdmiSinkCodecs(int codecs); |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(CapabilitiesMessageFilter); |
| 25 }; |
| 26 |
| 27 } // namespace chromecast |
| 28 |
| 29 #endif // CHROMECAST_RENDERER_MEDIA_CAPABILITIES_MESSAGE_FILTER_H_ |
OLD | NEW |