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

Side by Side Diff: chrome/renderer/media/cast_transport_sender_ipc.h

Issue 1167163002: chrome: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added some missing message_loop.h includes. Created 5 years, 6 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
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_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ 5 #ifndef CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_
6 #define CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ 6 #define CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/thread_task_runner_handle.h"
11 #include "ipc/ipc_channel_proxy.h" 11 #include "ipc/ipc_channel_proxy.h"
12 #include "media/cast/logging/logging_defines.h" 12 #include "media/cast/logging/logging_defines.h"
13 #include "media/cast/net/cast_transport_sender.h" 13 #include "media/cast/net/cast_transport_sender.h"
14 14
15 // This implementation of the CastTransportSender interface 15 // This implementation of the CastTransportSender interface
16 // communicates with the browser process over IPC and relays 16 // communicates with the browser process over IPC and relays
17 // all calls to/from the transport sender to the browser process. 17 // all calls to/from the transport sender to the browser process.
18 // The primary reason for this arrangement is to give the 18 // The primary reason for this arrangement is to give the
19 // renderer less direct control over the UDP sockets. 19 // renderer less direct control over the UDP sockets.
20 class CastTransportSenderIPC 20 class CastTransportSenderIPC
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 media::cast::PacketReceiverCallback packet_callback_; 83 media::cast::PacketReceiverCallback packet_callback_;
84 media::cast::CastTransportStatusCallback status_callback_; 84 media::cast::CastTransportStatusCallback status_callback_;
85 media::cast::BulkRawEventsCallback raw_events_callback_; 85 media::cast::BulkRawEventsCallback raw_events_callback_;
86 typedef std::map<uint32, ClientCallbacks> ClientMap; 86 typedef std::map<uint32, ClientCallbacks> ClientMap;
87 ClientMap clients_; 87 ClientMap clients_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderIPC); 89 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderIPC);
90 }; 90 };
91 91
92 #endif // CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ 92 #endif // CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_
OLDNEW
« no previous file with comments | « chrome/renderer/media/cast_threads.cc ('k') | chrome/renderer/media/chrome_webrtc_log_message_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698