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

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: rebase Created 4 years, 8 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
« no previous file with comments | « media/blink/webmediaplayer_util.h ('k') | media/media.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « media/blink/webmediaplayer_util.h ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698