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

Unified Diff: chrome/common/media/webrtc_logging_message_data.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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
« no previous file with comments | « chrome/common/media/media_resource_provider.cc ('k') | chrome/common/media_galleries/iphoto_library.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/media/webrtc_logging_message_data.cc
diff --git a/chrome/common/media/webrtc_logging_message_data.cc b/chrome/common/media/webrtc_logging_message_data.cc
index 3ebd10d3c9cde3208576bd8b2d5593af02652340..4d70eda7a090758cdd307e62402f13a9efdd01c6 100644
--- a/chrome/common/media/webrtc_logging_message_data.cc
+++ b/chrome/common/media/webrtc_logging_message_data.cc
@@ -4,6 +4,8 @@
#include "chrome/common/media/webrtc_logging_message_data.h"
+#include <stdint.h>
+
#include "base/strings/stringprintf.h"
WebRtcLoggingMessageData::WebRtcLoggingMessageData() {}
@@ -16,8 +18,8 @@ WebRtcLoggingMessageData::WebRtcLoggingMessageData(base::Time time,
std::string WebRtcLoggingMessageData::Format(const std::string& message,
base::Time timestamp,
base::Time start_time) {
- int32 interval_ms =
- static_cast<int32>((timestamp - start_time).InMilliseconds());
+ int32_t interval_ms =
+ static_cast<int32_t>((timestamp - start_time).InMilliseconds());
return base::StringPrintf("[%03d:%03d] %s", interval_ms / 1000,
interval_ms % 1000, message.c_str());
}
« no previous file with comments | « chrome/common/media/media_resource_provider.cc ('k') | chrome/common/media_galleries/iphoto_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698