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

Unified Diff: sandbox/win/src/policy_engine_processor.cc

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros 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 | « sandbox/win/src/policy_engine_processor.h ('k') | sandbox/win/src/policy_engine_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/policy_engine_processor.cc
diff --git a/sandbox/win/src/policy_engine_processor.cc b/sandbox/win/src/policy_engine_processor.cc
index 7ca25b2ed2ec66781db325cce4014616804feba2..960db085c37cbbebe42d161a956d9a36933e57d6 100644
--- a/sandbox/win/src/policy_engine_processor.cc
+++ b/sandbox/win/src/policy_engine_processor.cc
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stddef.h>
+#include <stdint.h>
+
#include "sandbox/win/src/policy_engine_processor.h"
namespace sandbox {
@@ -23,7 +26,7 @@ EvalResult PolicyProcessor::GetAction() const {
bool SkipOpcode(const PolicyOpcode& opcode, MatchContext* context,
bool* keep_skipping) {
if (opcode.IsAction()) {
- uint32 options = context->options;
+ uint32_t options = context->options;
context->Clear();
*keep_skipping = false;
return (kPolUseOREval != options);
@@ -32,7 +35,7 @@ bool SkipOpcode(const PolicyOpcode& opcode, MatchContext* context,
return true;
}
-PolicyResult PolicyProcessor::Evaluate(uint32 options,
+PolicyResult PolicyProcessor::Evaluate(uint32_t options,
ParameterSet* parameters,
size_t param_count) {
if (NULL == policy_) {
« no previous file with comments | « sandbox/win/src/policy_engine_processor.h ('k') | sandbox/win/src/policy_engine_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698