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

Unified Diff: media/cast/logging/receiver_time_offset_estimator_impl.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/logging/receiver_time_offset_estimator_impl.h
diff --git a/media/cast/logging/receiver_time_offset_estimator_impl.h b/media/cast/logging/receiver_time_offset_estimator_impl.h
index c2b6455ec10bba932bc2c2d73ef8021e30ff00f0..77d527562b9430a92d523af1d8448925552e7f0a 100644
--- a/media/cast/logging/receiver_time_offset_estimator_impl.h
+++ b/media/cast/logging/receiver_time_offset_estimator_impl.h
@@ -58,26 +58,26 @@ class ReceiverTimeOffsetEstimatorImpl : public ReceiverTimeOffsetEstimator {
class BoundCalculator {
public:
typedef std::pair<base::TimeTicks, base::TimeTicks> TimeTickPair;
- typedef std::map<uint64, TimeTickPair> EventMap;
+ typedef std::map<uint64_t, TimeTickPair> EventMap;
BoundCalculator();
~BoundCalculator();
bool has_bound() const { return has_bound_; }
base::TimeDelta bound() const { return bound_; }
- void SetSent(uint32 rtp,
- uint32 packet_id,
+ void SetSent(uint32_t rtp,
+ uint32_t packet_id,
bool audio,
base::TimeTicks t);
- void SetReceived(uint32 rtp,
- uint16 packet_id,
+ void SetReceived(uint32_t rtp,
+ uint16_t packet_id,
bool audio,
base::TimeTicks t);
private:
void UpdateBound(base::TimeTicks a, base::TimeTicks b);
- void CheckUpdate(uint64 key);
+ void CheckUpdate(uint64_t key);
private:
EventMap events_;

Powered by Google App Engine
This is Rietveld 408576698