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

Unified Diff: chrome/installer/test/resource_loader.h

Issue 1548153002: Switch to standard integer types in chrome/. (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
« no previous file with comments | « chrome/installer/test/pe_image_resources.cc ('k') | chrome/installer/test/resource_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/test/resource_loader.h
diff --git a/chrome/installer/test/resource_loader.h b/chrome/installer/test/resource_loader.h
index b43056c42899528db770dbd465eb239b809e73ed..c4890428cbdcd0d20b98b6441e173b3b9b0fe803 100644
--- a/chrome/installer/test/resource_loader.h
+++ b/chrome/installer/test/resource_loader.h
@@ -8,11 +8,12 @@
#define CHROME_INSTALLER_TEST_RESOURCE_LOADER_H_
#include <windows.h>
+#include <stdint.h>
#include <string>
#include <utility>
-#include "base/basictypes.h"
+#include "base/macros.h"
namespace base {
class FilePath;
@@ -32,16 +33,20 @@ class ResourceLoader {
// Places the address and size of the resource |name| of |type| into
// |resource_data|, returning true on success. The address of the resource is
// valid only until this instance is destroyed.
- bool Load(const std::wstring& name, const std::wstring& type,
- std::pair<const uint8*, DWORD>* resource_data);
+ bool Load(const std::wstring& name,
+ const std::wstring& type,
+ std::pair<const uint8_t*, DWORD>* resource_data);
// Places the address and size of the resource |id| of |type| into
// |resource_data|, returning true on success. The address of the resource is
// valid only until this instance is destroyed.
- bool Load(WORD id, WORD type, std::pair<const uint8*, DWORD>* resource_data);
+ bool Load(WORD id,
+ WORD type,
+ std::pair<const uint8_t*, DWORD>* resource_data);
private:
HMODULE module_;
+
DISALLOW_COPY_AND_ASSIGN(ResourceLoader);
}; // class ResourceLoader
« no previous file with comments | « chrome/installer/test/pe_image_resources.cc ('k') | chrome/installer/test/resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698