OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "media/blink/webmediaplayer_util.h" | 5 #include "media/blink/webmediaplayer_util.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 break; | 228 break; |
229 default: | 229 default: |
230 NOTREACHED(); | 230 NOTREACHED(); |
231 } | 231 } |
232 | 232 |
233 callback.web_callback_ = nullptr; | 233 callback.web_callback_ = nullptr; |
234 } | 234 } |
235 | 235 |
236 } // namespace | 236 } // namespace |
237 | 237 |
238 SwitchOutputDeviceCB ConvertToSwitchOutputDeviceCB( | 238 OutputDeviceStatusCB ConvertToOutputDeviceStatusCB( |
239 blink::WebSetSinkIdCallbacks* web_callbacks) { | 239 blink::WebSetSinkIdCallbacks* web_callbacks) { |
240 return media::BindToCurrentLoop( | 240 return media::BindToCurrentLoop( |
241 base::Bind(RunSetSinkIdCallback, SetSinkIdCallback(web_callbacks))); | 241 base::Bind(RunSetSinkIdCallback, SetSinkIdCallback(web_callbacks))); |
242 } | 242 } |
243 | 243 |
244 } // namespace media | 244 } // namespace media |
OLD | NEW |