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

Unified Diff: components/history/core/test/fake_web_history_service.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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: components/history/core/test/fake_web_history_service.cc
diff --git a/components/history/core/test/fake_web_history_service.cc b/components/history/core/test/fake_web_history_service.cc
index 4d628a0047e7abe656a361c8e81c3f71cc155de5..2739974eec5669576689b8058928fea75d90805e 100644
--- a/components/history/core/test/fake_web_history_service.cc
+++ b/components/history/core/test/fake_web_history_service.cc
@@ -4,7 +4,10 @@
#include "components/history/core/test/fake_web_history_service.h"
+#include <stdint.h>
+
#include "base/callback.h"
+#include "base/macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/time/time.h"
#include "net/base/url_util.h"
@@ -142,7 +145,7 @@ base::Time FakeWebHistoryService::GetTimeForKeyInQuery(
if (!net::GetValueForKeyInQuery(url, key, &value))
return base::Time();
- int64 us;
+ int64_t us;
if (!base::StringToInt64(value, &us))
return base::Time();
return base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(us);
« no previous file with comments | « components/history/core/common/thumbnail_score.cc ('k') | components/history/core/test/history_backend_db_base_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698