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

Unified Diff: components/offline_pages/offline_page_metadata_store_impl.cc

Issue 1550503002: Switch to standard integer types in base/threading/. (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/offline_pages/offline_page_metadata_store_impl.cc
diff --git a/components/offline_pages/offline_page_metadata_store_impl.cc b/components/offline_pages/offline_page_metadata_store_impl.cc
index ee2fb85bd37c5f0a4ef082caa3bba3d2c4376132..1b98fb18eaf7744e29a62c4838de3f8e96c3b0b3 100644
--- a/components/offline_pages/offline_page_metadata_store_impl.cc
+++ b/components/offline_pages/offline_page_metadata_store_impl.cc
@@ -192,14 +192,14 @@ void OfflinePageMetadataStoreImpl::AddOrUpdateOfflinePage(
}
void OfflinePageMetadataStoreImpl::RemoveOfflinePages(
- const std::vector<int64>& bookmark_ids,
+ const std::vector<int64_t>& bookmark_ids,
const UpdateCallback& callback) {
scoped_ptr<ProtoDatabase<OfflinePageEntry>::KeyEntryVector> entries_to_save(
new ProtoDatabase<OfflinePageEntry>::KeyEntryVector());
scoped_ptr<std::vector<std::string>> keys_to_remove(
new std::vector<std::string>());
- for (int64 id : bookmark_ids)
+ for (int64_t id : bookmark_ids)
keys_to_remove->push_back(base::Int64ToString(id));
UpdateEntries(entries_to_save.Pass(), keys_to_remove.Pass(), callback);

Powered by Google App Engine
This is Rietveld 408576698