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

Unified Diff: components/history/core/browser/download_database.h

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/download_database.h
diff --git a/components/history/core/browser/download_database.h b/components/history/core/browser/download_database.h
index e4577564f146300a37ee0dbf8ada119a54bf41fa..70f8ec8d04960661b736d9af94c48739097cbf19 100644
--- a/components/history/core/browser/download_database.h
+++ b/components/history/core/browser/download_database.h
@@ -5,10 +5,14 @@
#ifndef COMPONENTS_HISTORY_CORE_BROWSER_DOWNLOAD_DATABASE_H_
#define COMPONENTS_HISTORY_CORE_BROWSER_DOWNLOAD_DATABASE_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include <vector>
#include "base/gtest_prod_util.h"
+#include "base/macros.h"
#include "base/threading/platform_thread.h"
#include "components/history/core/browser/download_types.h"
@@ -28,7 +32,7 @@ class DownloadDatabase {
DownloadInterruptReason download_interrupt_reason_crash);
virtual ~DownloadDatabase();
- uint32 GetNextDownloadId();
+ uint32_t GetNextDownloadId();
// Get all the downloads from the database.
void QueryDownloads(std::vector<DownloadRow>* results);
@@ -43,7 +47,7 @@ class DownloadDatabase {
bool CreateDownload(const DownloadRow& info);
// Remove |id| from the database.
- void RemoveDownload(uint32 id);
+ void RemoveDownload(uint32_t id);
size_t CountDownloads();
@@ -95,7 +99,7 @@ class DownloadDatabase {
bool EnsureColumnExists(const std::string& name, const std::string& type);
- void RemoveDownloadURLs(uint32 id);
+ void RemoveDownloadURLs(uint32_t id);
bool owning_thread_set_;
base::PlatformThreadId owning_thread_;
« no previous file with comments | « components/history/core/browser/delete_directive_handler.cc ('k') | components/history/core/browser/download_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698