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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 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/download/chrome_download_manager_delegate.h
diff --git a/chrome/browser/download/chrome_download_manager_delegate.h b/chrome/browser/download/chrome_download_manager_delegate.h
index d3eee8f0667a85e4ed241ee2e22db18b170dc4f8..508966fe257d422a100b5e221a876a90ce59605e 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.h
+++ b/chrome/browser/download/chrome_download_manager_delegate.h
@@ -5,8 +5,11 @@
#ifndef CHROME_BROWSER_DOWNLOAD_CHROME_DOWNLOAD_MANAGER_DELEGATE_H_
#define CHROME_BROWSER_DOWNLOAD_CHROME_DOWNLOAD_MANAGER_DELEGATE_H_
+#include <stdint.h>
+
#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/download/download_path_reservation_tracker.h"
@@ -132,7 +135,7 @@ class ChromeDownloadManagerDelegate
// Callback function after the DownloadProtectionService completes.
void CheckClientDownloadDone(
- uint32 download_id,
+ uint32_t download_id,
safe_browsing::DownloadProtectionService::DownloadCheckResult result);
// Internal gateways for ShouldCompleteDownload().
@@ -140,15 +143,15 @@ class ChromeDownloadManagerDelegate
content::DownloadItem* item,
const base::Closure& internal_complete_callback);
void ShouldCompleteDownloadInternal(
- uint32 download_id,
- const base::Closure& user_complete_callback);
+ uint32_t download_id,
+ const base::Closure& user_complete_callback);
- void SetNextId(uint32 id);
+ void SetNextId(uint32_t id);
void ReturnNextId(const content::DownloadIdCallback& callback);
void OnDownloadTargetDetermined(
- int32 download_id,
+ int32_t download_id,
const content::DownloadTargetCallback& callback,
scoped_ptr<DownloadTargetInfo> target_info);
@@ -156,7 +159,7 @@ class ChromeDownloadManagerDelegate
bool IsOpenInBrowserPreferreredForFile(const base::FilePath& path);
Profile* profile_;
- uint32 next_download_id_;
+ uint32_t next_download_id_;
IdCallbackVector id_callbacks_;
scoped_ptr<DownloadPrefs> download_prefs_;

Powered by Google App Engine
This is Rietveld 408576698