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

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

Issue 1515023002: Simplify interface for media/cast: CastTransportSenderImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New version: move creating UdpTransport out and use setters for options. Created 4 years, 11 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 #include "chrome/renderer/media/cast_transport_sender_ipc.h" 5 #include "chrome/renderer/media/cast_transport_sender_ipc.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 } 194 }
195 } 195 }
196 196
197 void CastTransportSenderIPC::Send(IPC::Message* message) { 197 void CastTransportSenderIPC::Send(IPC::Message* message) {
198 if (CastIPCDispatcher::Get()) { 198 if (CastIPCDispatcher::Get()) {
199 CastIPCDispatcher::Get()->Send(message); 199 CastIPCDispatcher::Get()->Send(message);
200 } else { 200 } else {
201 delete message; 201 delete message;
202 } 202 }
203 } 203 }
204
205 media::cast::PacedSender* CastTransportSenderIPC::GetPacedSender() {
206 return nullptr;
miu 2016/01/27 02:18:04 Please add a NOTREACHED() statement here with a co
xjz 2016/01/30 01:19:26 Removed this function. Set the options directly th
207 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698