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

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

Issue 2479093002: Migrate more files to histogram_macros.h from histogram.h. (Closed)
Patch Set: Created 4 years, 1 month 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>
11 11
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "media/base/bind_to_current_loop.h" 13 #include "media/base/bind_to_current_loop.h"
14 #include "media/base/media_client.h" 14 #include "media/base/media_client.h"
15 #include "third_party/WebKit/public/platform/URLConversion.h" 15 #include "third_party/WebKit/public/platform/URLConversion.h"
16 #include "third_party/WebKit/public/platform/WebMediaPlayerEncryptedMediaClient. h" 16 #include "third_party/WebKit/public/platform/WebMediaPlayerEncryptedMediaClient. h"
17 17
18 namespace media { 18 namespace media {
19 19
20 blink::WebTimeRanges ConvertToWebTimeRanges( 20 blink::WebTimeRanges ConvertToWebTimeRanges(
21 const Ranges<base::TimeDelta>& ranges) { 21 const Ranges<base::TimeDelta>& ranges) {
22 blink::WebTimeRanges result(ranges.size()); 22 blink::WebTimeRanges result(ranges.size());
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 } // namespace 250 } // namespace
251 251
252 OutputDeviceStatusCB ConvertToOutputDeviceStatusCB( 252 OutputDeviceStatusCB ConvertToOutputDeviceStatusCB(
253 blink::WebSetSinkIdCallbacks* web_callbacks) { 253 blink::WebSetSinkIdCallbacks* web_callbacks) {
254 return media::BindToCurrentLoop( 254 return media::BindToCurrentLoop(
255 base::Bind(RunSetSinkIdCallback, SetSinkIdCallback(web_callbacks))); 255 base::Bind(RunSetSinkIdCallback, SetSinkIdCallback(web_callbacks)));
256 } 256 }
257 257
258 } // namespace media 258 } // namespace media
OLDNEW
« no previous file with comments | « media/blink/resource_multibuffer_data_provider.cc ('k') | media/cast/sender/external_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698