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

Unified Diff: components/history/core/browser/history_service.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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/history/core/browser/history_service.cc
diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc
index 2c48ac3a3bd3f33e007f945dc29b4d491df6e176..6b4651d36bf99d0f8704de38a06f5b0d81ddce62 100644
--- a/components/history/core/browser/history_service.cc
+++ b/components/history/core/browser/history_service.cc
@@ -30,6 +30,7 @@
#include "base/threading/thread.h"
#include "base/time/time.h"
#include "base/trace_event/trace_event.h"
+#include "build/build_config.h"
#include "components/history/core/browser/download_row.h"
#include "components/history/core/browser/history_backend.h"
#include "components/history/core/browser/history_backend_client.h"
@@ -746,7 +747,7 @@ void HistoryService::UpdateDownload(const DownloadRow& data) {
history_backend_.get(), data));
}
-void HistoryService::RemoveDownloads(const std::set<uint32>& ids) {
+void HistoryService::RemoveDownloads(const std::set<uint32_t>& ids) {
DCHECK(thread_) << "History service being called after cleanup";
DCHECK(thread_checker_.CalledOnValidThread());
ScheduleTask(PRIORITY_NORMAL, base::Bind(&HistoryBackend::RemoveDownloads,
@@ -1071,7 +1072,7 @@ void HistoryService::ExpireLocalAndRemoteHistoryBetween(
// TODO(dubroy): This API does not yet support deletion of specific URLs.
DCHECK(restrict_urls.empty());
- delete_directive_handler_.CreateDeleteDirectives(std::set<int64>(),
+ delete_directive_handler_.CreateDeleteDirectives(std::set<int64_t>(),
begin_time, end_time);
// Attempt online deletion from the history server, but ignore the result.
« no previous file with comments | « components/history/core/browser/history_service.h ('k') | components/history/core/browser/history_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698