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

Unified Diff: components/undo/bookmark_undo_service.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
« no previous file with comments | « components/undo/bookmark_undo_service.h ('k') | components/undo/bookmark_undo_service_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/undo/bookmark_undo_service.cc
diff --git a/components/undo/bookmark_undo_service.cc b/components/undo/bookmark_undo_service.cc
index 0a348b5fda64f2e31fb1e10a11555e1cf8a5ec8b..b6bbeac7924474d9a2af4b278a5bd9d123f0a764 100644
--- a/components/undo/bookmark_undo_service.cc
+++ b/components/undo/bookmark_undo_service.cc
@@ -4,6 +4,10 @@
#include "components/undo/bookmark_undo_service.h"
+#include <stddef.h>
+#include <stdint.h>
+
+#include "base/macros.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_node_data.h"
#include "components/bookmarks/browser/bookmark_undo_provider.h"
@@ -51,7 +55,7 @@ class BookmarkAddOperation : public BookmarkUndoOperation {
int GetRedoLabelId() const override;
private:
- int64 parent_id_;
+ int64_t parent_id_;
const int index_;
DISALLOW_COPY_AND_ASSIGN(BookmarkAddOperation);
@@ -161,7 +165,7 @@ class BookmarkEditOperation : public BookmarkUndoOperation {
int GetRedoLabelId() const override;
private:
- int64 node_id_;
+ int64_t node_id_;
BookmarkNodeData original_bookmark_;
DISALLOW_COPY_AND_ASSIGN(BookmarkEditOperation);
@@ -212,8 +216,8 @@ class BookmarkMoveOperation : public BookmarkUndoOperation {
void Undo() override;
private:
- int64 old_parent_id_;
- int64 new_parent_id_;
+ int64_t old_parent_id_;
+ int64_t new_parent_id_;
int old_index_;
int new_index_;
@@ -280,8 +284,8 @@ class BookmarkReorderOperation : public BookmarkUndoOperation {
int GetRedoLabelId() const override;
private:
- int64 parent_id_;
- std::vector<int64> ordered_bookmarks_;
+ int64_t parent_id_;
+ std::vector<int64_t> ordered_bookmarks_;
DISALLOW_COPY_AND_ASSIGN(BookmarkReorderOperation);
};
« no previous file with comments | « components/undo/bookmark_undo_service.h ('k') | components/undo/bookmark_undo_service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698