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

Unified Diff: media/cast/sender/vp8_encoder.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: media/cast/sender/vp8_encoder.h
diff --git a/media/cast/sender/vp8_encoder.h b/media/cast/sender/vp8_encoder.h
index c3d985f3199b43f9751be5cabe67dd811d9040a0..ffb95e22d5dc57c74cb25c997907b459e1bb37c6 100644
--- a/media/cast/sender/vp8_encoder.h
+++ b/media/cast/sender/vp8_encoder.h
@@ -5,7 +5,6 @@
#ifndef MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_
#define MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_
-#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_checker.h"
#include "media/cast/cast_config.h"
@@ -31,7 +30,7 @@ class Vp8Encoder : public SoftwareVideoEncoder {
void Encode(const scoped_refptr<media::VideoFrame>& video_frame,
const base::TimeTicks& reference_time,
SenderEncodedFrame* encoded_frame) final;
- void UpdateRates(uint32 new_bitrate) final;
+ void UpdateRates(uint32_t new_bitrate) final;
void GenerateKeyFrame() final;
private:
@@ -66,7 +65,7 @@ class Vp8Encoder : public SoftwareVideoEncoder {
base::TimeDelta last_frame_timestamp_;
// The last encoded frame's ID.
- uint32 last_encoded_frame_id_;
+ uint32_t last_encoded_frame_id_;
// This is bound to the thread where Initialize() is called.
base::ThreadChecker thread_checker_;

Powered by Google App Engine
This is Rietveld 408576698