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

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

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (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 | « 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 960db085c37cbbebe42d161a956d9a36933e57d6..7ca25b2ed2ec66781db325cce4014616804feba2 100644
--- a/sandbox/win/src/policy_engine_processor.cc
+++ b/sandbox/win/src/policy_engine_processor.cc
@@ -1,9 +1,6 @@
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// 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"
@@ -26,7 +23,7 @@
bool SkipOpcode(const PolicyOpcode& opcode, MatchContext* context,
bool* keep_skipping) {
if (opcode.IsAction()) {
- uint32_t options = context->options;
+ uint32 options = context->options;
context->Clear();
*keep_skipping = false;
return (kPolUseOREval != options);
@@ -35,7 +32,7 @@
return true;
}
-PolicyResult PolicyProcessor::Evaluate(uint32_t options,
+PolicyResult PolicyProcessor::Evaluate(uint32 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