summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/instant_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui/instant_ui.cc')
-rw-r--r--chrome/browser/ui/webui/instant_ui.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/instant_ui.cc b/chrome/browser/ui/webui/instant_ui.cc
index 162ac8c..c23ae88 100644
--- a/chrome/browser/ui/webui/instant_ui.cc
+++ b/chrome/browser/ui/webui/instant_ui.cc
@@ -4,10 +4,14 @@
#include "chrome/browser/ui/webui/instant_ui.h"
+#include <stdint.h>
+
#include "base/bind.h"
+#include "base/macros.h"
#include "base/prefs/pref_service.h"
#include "base/strings/stringprintf.h"
#include "base/time/time.h"
+#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
@@ -34,7 +38,7 @@ content::WebUIDataSource* CreateInstantHTMLSource() {
}
#if !defined(OS_ANDROID)
-std::string FormatTime(int64 time) {
+std::string FormatTime(int64_t time) {
base::Time::Exploded exploded;
base::Time::FromInternalValue(time).UTCExplode(&exploded);
return base::StringPrintf("%04d-%02d-%02d %02d:%02d:%02d.%03d",
@@ -116,7 +120,7 @@ void InstantUIMessageHandler::SetPreferenceValue(const base::ListValue* args) {
void InstantUIMessageHandler::GetDebugInfo(const base::ListValue* args) {
#if !defined(OS_ANDROID)
- typedef std::pair<int64, std::string> DebugEvent;
+ typedef std::pair<int64_t, std::string> DebugEvent;
if (!web_ui()->GetWebContents())
return;