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

Side by Side Diff: media/blink/webmediaplayer_impl.h

Issue 1747593002: Change the type for byte counts to size_t in WebMediaPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made changes in the unittests 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
« no previous file with comments | « content/renderer/media/webmediaplayer_ms.cc ('k') | media/blink/webmediaplayer_impl.cc » ('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 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 bool didLoadingProgress() override; 139 bool didLoadingProgress() override;
140 140
141 bool hasSingleSecurityOrigin() const override; 141 bool hasSingleSecurityOrigin() const override;
142 bool didPassCORSAccessCheck() const override; 142 bool didPassCORSAccessCheck() const override;
143 143
144 double mediaTimeForTimeValue(double timeValue) const override; 144 double mediaTimeForTimeValue(double timeValue) const override;
145 145
146 unsigned decodedFrameCount() const override; 146 unsigned decodedFrameCount() const override;
147 unsigned droppedFrameCount() const override; 147 unsigned droppedFrameCount() const override;
148 unsigned audioDecodedByteCount() const override; 148 size_t audioDecodedByteCount() const override;
149 unsigned videoDecodedByteCount() const override; 149 size_t videoDecodedByteCount() const override;
150 150
151 bool copyVideoTextureToPlatformTexture( 151 bool copyVideoTextureToPlatformTexture(
152 blink::WebGraphicsContext3D* web_graphics_context, 152 blink::WebGraphicsContext3D* web_graphics_context,
153 unsigned int texture, 153 unsigned int texture,
154 unsigned int internal_format, 154 unsigned int internal_format,
155 unsigned int type, 155 unsigned int type,
156 bool premultiply_alpha, 156 bool premultiply_alpha,
157 bool flip_y) override; 157 bool flip_y) override;
158 158
159 blink::WebAudioSourceProvider* audioSourceProvider() override; 159 blink::WebAudioSourceProvider* audioSourceProvider() override;
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 // For requesting surfaces on behalf of the Android H/W decoder in fullscreen. 453 // For requesting surfaces on behalf of the Android H/W decoder in fullscreen.
454 // This will be null everywhere but Android. 454 // This will be null everywhere but Android.
455 SurfaceManager* surface_manager_; 455 SurfaceManager* surface_manager_;
456 456
457 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 457 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
458 }; 458 };
459 459
460 } // namespace media 460 } // namespace media
461 461
462 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 462 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/webmediaplayer_ms.cc ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698