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

Unified Diff: components/history/content/browser/download_constants_utils.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/content/browser/download_constants_utils.h
diff --git a/components/history/content/browser/download_constants_utils.h b/components/history/content/browser/download_constants_utils.h
index f0a63e963b965760f2bf0741197130e6c0a6dbe9..284e8c6cfef763ff61a938c5ec51c8bbac46227c 100644
--- a/components/history/content/browser/download_constants_utils.h
+++ b/components/history/content/browser/download_constants_utils.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_HISTORY_CONTENT_BROWSER_DOWNLOAD_CONSTANTS_UTILS_H_
#define COMPONENTS_HISTORY_CONTENT_BROWSER_DOWNLOAD_CONSTANTS_UTILS_H_
+#include <stdint.h>
+
#include <string>
#include "components/history/core/browser/download_types.h"
@@ -40,8 +42,8 @@ DownloadInterruptReason ToHistoryDownloadInterruptReason(
// Utility functions to convert between content download id values and
// history::DownloadId type (value have no meaning in history, except
// for kInvalidDownloadId).
-uint32 ToContentDownloadId(DownloadId id);
-DownloadId ToHistoryDownloadId(uint32 id);
+uint32_t ToContentDownloadId(DownloadId id);
+DownloadId ToHistoryDownloadId(uint32_t id);
} // namespace history
#endif // COMPONENTS_HISTORY_CONTENT_BROWSER_DOWNLOAD_CONSTANTS_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698