Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: chrome/browser/media/cast_transport_host_filter.h

Issue 292443004: Remove IPC_BEGIN_MESSAGE_MAP_EX macro since r270839 made all bad IPCs kill their child processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_
6 #define CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_ 6 #define CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_
7 7
8 #include "base/id_map.h" 8 #include "base/id_map.h"
9 #include "base/time/default_tick_clock.h" 9 #include "base/time/default_tick_clock.h"
10 #include "chrome/common/cast_messages.h" 10 #include "chrome/common/cast_messages.h"
(...skipping 13 matching lines...) Expand all
24 void NotifyStatusChange( 24 void NotifyStatusChange(
25 int32 channel_id, 25 int32 channel_id,
26 media::cast::transport::CastTransportStatus result); 26 media::cast::transport::CastTransportStatus result);
27 void ReceivedPacket( 27 void ReceivedPacket(
28 int32 channel_id, 28 int32 channel_id,
29 scoped_ptr<media::cast::transport::Packet> result); 29 scoped_ptr<media::cast::transport::Packet> result);
30 void RawEvents(int32 channel_id, 30 void RawEvents(int32 channel_id,
31 const std::vector<media::cast::PacketEvent>& packet_events); 31 const std::vector<media::cast::PacketEvent>& packet_events);
32 32
33 // BrowserMessageFilter implementation. 33 // BrowserMessageFilter implementation.
34 virtual bool OnMessageReceived(const IPC::Message& message, 34 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
35 bool* message_was_ok) OVERRIDE;
36 35
37 // Forwarding functions. 36 // Forwarding functions.
38 void OnInitializeAudio( 37 void OnInitializeAudio(
39 int32 channel_id, 38 int32 channel_id,
40 const media::cast::transport::CastTransportAudioConfig& config); 39 const media::cast::transport::CastTransportAudioConfig& config);
41 void OnInitializeVideo( 40 void OnInitializeVideo(
42 int32 channel_id, 41 int32 channel_id,
43 const media::cast::transport::CastTransportVideoConfig& config); 42 const media::cast::transport::CastTransportVideoConfig& config);
44 void OnInsertCodedAudioFrame( 43 void OnInsertCodedAudioFrame(
45 int32 channel_id, 44 int32 channel_id,
(...skipping 20 matching lines...) Expand all
66 65
67 // Clock used by Cast transport. 66 // Clock used by Cast transport.
68 base::DefaultTickClock clock_; 67 base::DefaultTickClock clock_;
69 68
70 DISALLOW_COPY_AND_ASSIGN(CastTransportHostFilter); 69 DISALLOW_COPY_AND_ASSIGN(CastTransportHostFilter);
71 }; 70 };
72 71
73 } // namespace cast 72 } // namespace cast
74 73
75 #endif // CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_ 74 #endif // CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_net_benchmarking_message_filter.cc ('k') | chrome/browser/media/cast_transport_host_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698