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

Unified Diff: components/bookmarks/browser/bookmark_storage.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
« no previous file with comments | « components/bookmarks/browser/bookmark_storage.h ('k') | components/bookmarks/browser/bookmark_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bookmarks/browser/bookmark_storage.cc
diff --git a/components/bookmarks/browser/bookmark_storage.cc b/components/bookmarks/browser/bookmark_storage.cc
index 6f11d069407c439b48325ce1c0fd5b098c8b2775..921e3f3c3d25317dcd4777ccefd6011305a240b7 100644
--- a/components/bookmarks/browser/bookmark_storage.cc
+++ b/components/bookmarks/browser/bookmark_storage.cc
@@ -4,6 +4,8 @@
#include "components/bookmarks/browser/bookmark_storage.h"
+#include <stddef.h>
+
#include <algorithm>
#include "base/bind.h"
@@ -61,7 +63,7 @@ void LoadCallback(const base::FilePath& path,
if (root.get()) {
// Building the index can take a while, so we do it on the background
// thread.
- int64 max_node_id = 0;
+ int64_t max_node_id = 0;
BookmarkCodec codec;
TimeTicks start_time = TimeTicks::Now();
codec.Decode(details->bb_node(), details->other_folder_node(),
@@ -119,7 +121,7 @@ BookmarkLoadDetails::BookmarkLoadDetails(
BookmarkPermanentNode* mobile_folder_node,
const LoadExtraCallback& load_extra_callback,
BookmarkIndex* index,
- int64 max_id)
+ int64_t max_id)
: bb_node_(bb_node),
other_folder_node_(other_folder_node),
mobile_folder_node_(mobile_folder_node),
@@ -128,8 +130,7 @@ BookmarkLoadDetails::BookmarkLoadDetails(
model_sync_transaction_version_(
BookmarkNode::kInvalidSyncTransactionVersion),
max_id_(max_id),
- ids_reassigned_(false) {
-}
+ ids_reassigned_(false) {}
BookmarkLoadDetails::~BookmarkLoadDetails() {
}
« no previous file with comments | « components/bookmarks/browser/bookmark_storage.h ('k') | components/bookmarks/browser/bookmark_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698