| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 break; | 232 break; |
| 233 default: | 233 default: |
| 234 NOTREACHED(); | 234 NOTREACHED(); |
| 235 } | 235 } |
| 236 | 236 |
| 237 callback.web_callback_ = nullptr; | 237 callback.web_callback_ = nullptr; |
| 238 } | 238 } |
| 239 | 239 |
| 240 } // namespace | 240 } // namespace |
| 241 | 241 |
| 242 SwitchOutputDeviceCB ConvertToSwitchOutputDeviceCB( | 242 OutputDeviceStatusCB ConvertToOutputDeviceStatusCB( |
| 243 blink::WebSetSinkIdCallbacks* web_callbacks) { | 243 blink::WebSetSinkIdCallbacks* web_callbacks) { |
| 244 return media::BindToCurrentLoop( | 244 return media::BindToCurrentLoop( |
| 245 base::Bind(RunSetSinkIdCallback, SetSinkIdCallback(web_callbacks))); | 245 base::Bind(RunSetSinkIdCallback, SetSinkIdCallback(web_callbacks))); |
| 246 } | 246 } |
| 247 | 247 |
| 248 } // namespace media | 248 } // namespace media |
| OLD | NEW |