Add ICU message format support
[chromium-blink-merge.git] / sandbox / win / src / process_mitigations_win32k_policy.cc
blobaf18c5413c2815499f21e413403d6f9fd082daec
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "sandbox/win/src/process_mitigations_win32k_policy.h"
7 namespace sandbox {
9 bool ProcessMitigationsWin32KLockdownPolicy::GenerateRules(
10 const wchar_t* name,
11 TargetPolicy::Semantics semantics,
12 LowLevelPolicy* policy) {
13 PolicyRule rule(FAKE_SUCCESS);
14 if (!policy->AddRule(IPC_GDI_GDIDLLINITIALIZE_TAG, &rule))
15 return false;
16 if (!policy->AddRule(IPC_GDI_GETSTOCKOBJECT_TAG, &rule))
17 return false;
18 if (!policy->AddRule(IPC_USER_REGISTERCLASSW_TAG, &rule))
19 return false;
20 return true;
23 } // namespace sandbox