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

Unified Diff: components/suggestions/suggestions_store.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (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: components/suggestions/suggestions_store.cc
diff --git a/components/suggestions/suggestions_store.cc b/components/suggestions/suggestions_store.cc
index 42d6dc5059df92278604464cedb5e19b3ce24c52..dff32110b0b8bf2f17ee3b07409ecc029ca69408 100644
--- a/components/suggestions/suggestions_store.cc
+++ b/components/suggestions/suggestions_store.cc
@@ -4,6 +4,8 @@
#include "components/suggestions/suggestions_store.h"
+#include <stdint.h>
+
#include <string>
#include "base/base64.h"
@@ -69,7 +71,7 @@ bool SuggestionsStore::LoadSuggestions(SuggestionsProfile* suggestions) {
void SuggestionsStore::FilterExpiredSuggestions(
SuggestionsProfile* suggestions) {
SuggestionsProfile filtered_suggestions;
- int64 now_usec =
+ int64_t now_usec =
(this->clock_->Now() - base::Time::UnixEpoch()).ToInternalValue();
for (int i = 0; i < suggestions->suggestions_size(); ++i) {
« no previous file with comments | « components/suggestions/suggestions_service_unittest.cc ('k') | components/suggestions/suggestions_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698