Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 } | |
| OLD | NEW |