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

Unified Diff: cloud_print/service/win/service_controller.cc

Issue 1540213002: Switch to standard integer types in cloud_print/. (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 | « cloud_print/service/win/local_security_policy.cc ('k') | cloud_print/service/win/service_listener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/service/win/service_controller.cc
diff --git a/cloud_print/service/win/service_controller.cc b/cloud_print/service/win/service_controller.cc
index 9775752695a9b7afa8ff3dbcb586fa53e203fe80..2af87ec22d82d855d646e9cf969374619d616317 100644
--- a/cloud_print/service/win/service_controller.cc
+++ b/cloud_print/service/win/service_controller.cc
@@ -7,11 +7,13 @@
#include <atlbase.h>
#include <atlcom.h>
#include <atlctl.h>
+#include <stdint.h>
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
+#include "base/macros.h"
#include "base/path_service.h"
#include "base/win/scoped_handle.h"
#include "chrome/common/chrome_switches.h"
@@ -297,7 +299,7 @@ void ServiceController::UpdateState() {
if (!config_size)
return;
- std::vector<uint8> buffer(config_size, 0);
+ std::vector<uint8_t> buffer(config_size, 0);
QUERY_SERVICE_CONFIG* config =
reinterpret_cast<QUERY_SERVICE_CONFIG*>(&buffer[0]);
if (!::QueryServiceConfig(service.Get(), config,
« no previous file with comments | « cloud_print/service/win/local_security_policy.cc ('k') | cloud_print/service/win/service_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698