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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_service_win.cc

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (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: chrome/browser/ui/views/app_list/win/app_list_service_win.cc
diff --git a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
index 6692e3fad7896e180184561e9eb9285e754d75d6..4f8490c4fca003c6c63d732d38480781172de02d 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
+++ b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
@@ -5,10 +5,13 @@
#include "chrome/browser/ui/views/app_list/win/app_list_service_win.h"
#include <dwmapi.h>
+#include <stddef.h>
+#include <stdint.h>
#include <sstream>
#include "base/command_line.h"
#include "base/files/file_util.h"
+#include "base/macros.h"
#include "base/memory/singleton.h"
#include "base/message_loop/message_loop.h"
#include "base/metrics/histogram.h"
@@ -366,7 +369,7 @@ bool AppListServiceWin::IsWarmupNeeded() {
// Don't warm up the app list if it hasn't been used for a while. If the last
// launch is unknown, record it as "used" on the first warmup.
PrefService* local_state = g_browser_process->local_state();
- int64 last_launch_time_pref =
+ int64_t last_launch_time_pref =
local_state->GetInt64(prefs::kAppListLastLaunchTime);
if (last_launch_time_pref == 0)
RecordAppListLastLaunch();

Powered by Google App Engine
This is Rietveld 408576698