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

Unified Diff: printing/backend/printing_info_win.h

Issue 1544623002: Switch to standard integer types in printing/. (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 | « printing/backend/print_backend_win.cc ('k') | printing/backend/printing_info_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/printing_info_win.h
diff --git a/printing/backend/printing_info_win.h b/printing/backend/printing_info_win.h
index 11341943ce2bdd6d508f93263972ab1599743688..c91d837724935c352d36861faca9531ffce88346 100644
--- a/printing/backend/printing_info_win.h
+++ b/printing/backend/printing_info_win.h
@@ -6,6 +6,7 @@
#define PRINTING_BACKEND_PRINTING_INFO_WIN_H_
#include <objidl.h>
+#include <stdint.h>
#include <winspool.h>
#include "base/memory/scoped_ptr.h"
@@ -15,8 +16,8 @@ namespace printing {
namespace internal {
-PRINTING_EXPORT uint8* GetDriverInfo(HANDLE printer, int level);
-PRINTING_EXPORT uint8* GetPrinterInfo(HANDLE printer, int level);
+PRINTING_EXPORT uint8_t* GetDriverInfo(HANDLE printer, int level);
+PRINTING_EXPORT uint8_t* GetPrinterInfo(HANDLE printer, int level);
// This class is designed to work with PRINTER_INFO_X structures
// and calls GetPrinter internally with correctly allocated buffer.
@@ -33,7 +34,7 @@ class PrinterInfo {
}
private:
- scoped_ptr<uint8[]> buffer_;
+ scoped_ptr<uint8_t[]> buffer_;
};
// This class is designed to work with DRIVER_INFO_X structures
@@ -51,7 +52,7 @@ class DriverInfo {
}
private:
- scoped_ptr<uint8[]> buffer_;
+ scoped_ptr<uint8_t[]> buffer_;
};
} // namespace internal
« no previous file with comments | « printing/backend/print_backend_win.cc ('k') | printing/backend/printing_info_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698