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

Side by Side Diff: media/blink/webmediaplayer_util.cc

Issue 1809093003: Moving SwitchOutputDevice out of OutputDevice interface, eliminating OutputDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing guidou's comments Created 4 years, 9 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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698