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

Unified Diff: components/history/core/browser/history_types.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/browser/history_types.cc
diff --git a/components/history/core/browser/history_types.cc b/components/history/core/browser/history_types.cc
index 60d424e324e35a9e04014b91fe520e3cd7c58aeb..732c8c23a30815df2c7d5b61bc1c740dcc3277f2 100644
--- a/components/history/core/browser/history_types.cc
+++ b/components/history/core/browser/history_types.cc
@@ -164,13 +164,13 @@ void QueryOptions::SetRecentDayRange(int days_ago) {
begin_time = end_time - base::TimeDelta::FromDays(days_ago);
}
-int64 QueryOptions::EffectiveBeginTime() const {
+int64_t QueryOptions::EffectiveBeginTime() const {
return begin_time.ToInternalValue();
}
-int64 QueryOptions::EffectiveEndTime() const {
- return end_time.is_null() ?
- std::numeric_limits<int64>::max() : end_time.ToInternalValue();
+int64_t QueryOptions::EffectiveEndTime() const {
+ return end_time.is_null() ? std::numeric_limits<int64_t>::max()
+ : end_time.ToInternalValue();
}
int QueryOptions::EffectiveMaxCount() const {
« no previous file with comments | « components/history/core/browser/history_types.h ('k') | components/history/core/browser/history_types_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698