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

Unified Diff: mojo/services/tracing/tracing_app.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 | « mojo/services/tracing/tracing_app.h ('k') | mojo/shell/application_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/tracing/tracing_app.cc
diff --git a/mojo/services/tracing/tracing_app.cc b/mojo/services/tracing/tracing_app.cc
index 3bc3557d51c6d1336b652be8245f6102a50f17ce..e55947034ece6ddac21102ee4c9114227e0a85f3 100644
--- a/mojo/services/tracing/tracing_app.cc
+++ b/mojo/services/tracing/tracing_app.cc
@@ -4,6 +4,9 @@
#include "mojo/services/tracing/tracing_app.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <utility>
#include "base/bind.h"
@@ -129,37 +132,37 @@ void TracingApp::StopAndFlush() {
AllDataCollected();
}
-void TracingApp::SetShellProcessCreationTime(int64 time) {
+void TracingApp::SetShellProcessCreationTime(int64_t time) {
if (startup_performance_times_.shell_process_creation_time == 0)
startup_performance_times_.shell_process_creation_time = time;
}
-void TracingApp::SetShellMainEntryPointTime(int64 time) {
+void TracingApp::SetShellMainEntryPointTime(int64_t time) {
if (startup_performance_times_.shell_main_entry_point_time == 0)
startup_performance_times_.shell_main_entry_point_time = time;
}
-void TracingApp::SetBrowserMessageLoopStartTicks(int64 ticks) {
+void TracingApp::SetBrowserMessageLoopStartTicks(int64_t ticks) {
if (startup_performance_times_.browser_message_loop_start_ticks == 0)
startup_performance_times_.browser_message_loop_start_ticks = ticks;
}
-void TracingApp::SetBrowserWindowDisplayTicks(int64 ticks) {
+void TracingApp::SetBrowserWindowDisplayTicks(int64_t ticks) {
if (startup_performance_times_.browser_window_display_ticks == 0)
startup_performance_times_.browser_window_display_ticks = ticks;
}
-void TracingApp::SetBrowserOpenTabsTimeDelta(int64 delta) {
+void TracingApp::SetBrowserOpenTabsTimeDelta(int64_t delta) {
if (startup_performance_times_.browser_open_tabs_time_delta == 0)
startup_performance_times_.browser_open_tabs_time_delta = delta;
}
-void TracingApp::SetFirstWebContentsMainFrameLoadTicks(int64 ticks) {
+void TracingApp::SetFirstWebContentsMainFrameLoadTicks(int64_t ticks) {
if (startup_performance_times_.first_web_contents_main_frame_load_ticks == 0)
startup_performance_times_.first_web_contents_main_frame_load_ticks = ticks;
}
-void TracingApp::SetFirstVisuallyNonEmptyLayoutTicks(int64 ticks) {
+void TracingApp::SetFirstVisuallyNonEmptyLayoutTicks(int64_t ticks) {
if (startup_performance_times_.first_visually_non_empty_layout_ticks == 0)
startup_performance_times_.first_visually_non_empty_layout_ticks = ticks;
}
« no previous file with comments | « mojo/services/tracing/tracing_app.h ('k') | mojo/shell/application_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698