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

Unified Diff: media/cast/net/cast_transport_sender_impl_unittest.cc

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/net/cast_transport_sender_impl_unittest.cc
diff --git a/media/cast/net/cast_transport_sender_impl_unittest.cc b/media/cast/net/cast_transport_sender_impl_unittest.cc
index fecf820f55ae4188be15393632a15c855f32e561..bd795bebb22f4eaf61f7f991be9707f7cdfbadc7 100644
--- a/media/cast/net/cast_transport_sender_impl_unittest.cc
+++ b/media/cast/net/cast_transport_sender_impl_unittest.cc
@@ -20,9 +20,9 @@ namespace media {
namespace cast {
namespace {
-const int64 kStartMillisecond = INT64_C(12345678900000);
-const uint32 kVideoSsrc = 1;
-const uint32 kAudioSsrc = 2;
+const int64_t kStartMillisecond = INT64_C(12345678900000);
+const uint32_t kVideoSsrc = 1;
+const uint32_t kAudioSsrc = 2;
} // namespace
class FakePacketSender : public PacketSender {
@@ -41,7 +41,7 @@ class FakePacketSender : public PacketSender {
return true;
}
- int64 GetBytesSent() final { return bytes_sent_; }
+ int64_t GetBytesSent() final { return bytes_sent_; }
void SetPaused(bool paused) {
paused_ = paused;
@@ -58,7 +58,7 @@ class FakePacketSender : public PacketSender {
base::Closure callback_;
PacketRef stored_packet_;
int packets_sent_;
- int64 bytes_sent_;
+ int64_t bytes_sent_;
DISALLOW_COPY_AND_ASSIGN(FakePacketSender);
};
@@ -256,7 +256,7 @@ TEST_F(CastTransportSenderImplTest, CancelRetransmits) {
task_runner_->Sleep(base::TimeDelta::FromMilliseconds(10));
EXPECT_EQ(2, num_times_logging_callback_called_);
- std::vector<uint32> cancel_sending_frames;
+ std::vector<uint32_t> cancel_sending_frames;
cancel_sending_frames.push_back(1);
transport_sender_->CancelSendingFrames(kVideoSsrc,
cancel_sending_frames);

Powered by Google App Engine
This is Rietveld 408576698