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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_store.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 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: chrome/browser/safe_browsing/safe_browsing_store.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_store.cc b/chrome/browser/safe_browsing/safe_browsing_store.cc
index 326530b3c717b6268eaccc68c358c9703f316186..29357a19431cf1754b2c63ed927200d780caf6a2 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_store.cc
@@ -73,7 +73,7 @@ void KnockoutSubs(SubsT* subs, AddsT* adds,
// Remove deleted items (|chunk_id| in |del_set|) from the container.
template <typename ItemsT>
-void RemoveDeleted(ItemsT* items, const base::hash_set<int32>& del_set) {
+void RemoveDeleted(ItemsT* items, const base::hash_set<int32_t>& del_set) {
DCHECK(items);
// Move items from |iter| to |end_iter|, skipping items in |del_set|.
@@ -96,8 +96,8 @@ void SBProcessSubs(SBAddPrefixes* add_prefixes,
SBSubPrefixes* sub_prefixes,
std::vector<SBAddFullHash>* add_full_hashes,
std::vector<SBSubFullHash>* sub_full_hashes,
- const base::hash_set<int32>& add_chunks_deleted,
- const base::hash_set<int32>& sub_chunks_deleted) {
+ const base::hash_set<int32_t>& add_chunks_deleted,
+ const base::hash_set<int32_t>& sub_chunks_deleted) {
// It is possible to structure templates and template
// specializations such that the following calls work without having
// to qualify things. It becomes very arbitrary, though, and less
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_store.h ('k') | chrome/browser/safe_browsing/safe_browsing_store_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698