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

Unified Diff: components/enhanced_bookmarks/persistent_image_store.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 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/enhanced_bookmarks/persistent_image_store.cc
diff --git a/components/enhanced_bookmarks/persistent_image_store.cc b/components/enhanced_bookmarks/persistent_image_store.cc
index c35900e77c4832147781527af239d9e8e40d1c15..b36cb6d4eb9b77418a19073dfad459cdf96ef9cf 100644
--- a/components/enhanced_bookmarks/persistent_image_store.cc
+++ b/components/enhanced_bookmarks/persistent_image_store.cc
@@ -4,6 +4,8 @@
#include "components/enhanced_bookmarks/persistent_image_store.h"
+#include <stddef.h>
+
#include "base/files/file.h"
#include "base/logging.h"
#include "components/enhanced_bookmarks/image_store_util.h"
@@ -307,7 +309,7 @@ void PersistentImageStore::ClearAll() {
statement.Run();
}
-int64 PersistentImageStore::GetStoreSizeInBytes() {
+int64_t PersistentImageStore::GetStoreSizeInBytes() {
base::File file(path_, base::File::FLAG_OPEN | base::File::FLAG_READ);
return file.IsValid() ? file.GetLength() : -1;
}
« no previous file with comments | « components/enhanced_bookmarks/persistent_image_store.h ('k') | components/enhanced_bookmarks/test_image_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698