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

Unified Diff: content/renderer/media/webrtc/media_stream_track_metrics.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/renderer/media/webrtc/media_stream_track_metrics.h
diff --git a/content/renderer/media/webrtc/media_stream_track_metrics.h b/content/renderer/media/webrtc/media_stream_track_metrics.h
index aaf669d0d0c7a9e0da16d733c30ea5593b66d905..4f2cd0e3bd53675d7e8fda25badbb23e6ad70328 100644
--- a/content/renderer/media/webrtc/media_stream_track_metrics.h
+++ b/content/renderer/media/webrtc/media_stream_track_metrics.h
@@ -5,7 +5,8 @@
#ifndef CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_TRACK_METRICS_H_
#define CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_TRACK_METRICS_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/memory/scoped_vector.h"
#include "base/threading/non_thread_safe.h"
#include "content/common/content_export.h"
@@ -81,14 +82,14 @@ class CONTENT_EXPORT MediaStreamTrackMetrics : public base::NonThreadSafe {
// |this| pointer to a 64-bit integer, which is usable as a unique
// ID for the PeerConnection this object is attached to (since there
// is a one-to-one relationship).
- uint64 MakeUniqueIdImpl(uint64 pc_id,
- const std::string& track,
- StreamType stream_type);
+ uint64_t MakeUniqueIdImpl(uint64_t pc_id,
+ const std::string& track,
+ StreamType stream_type);
private:
// Make a unique ID for the given track, that is valid while the
// track object and the PeerConnection it is attached to both exist.
- uint64 MakeUniqueId(const std::string& track, StreamType stream_type);
+ uint64_t MakeUniqueId(const std::string& track, StreamType stream_type);
typedef ScopedVector<MediaStreamTrackMetricsObserver> ObserverVector;
ObserverVector observers_;

Powered by Google App Engine
This is Rietveld 408576698