Index: sandbox/win/src/lpc_policy.cc |
diff --git a/sandbox/win/src/lpc_policy.cc b/sandbox/win/src/lpc_policy.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a2e97fdaf15d2a411a311fd2952c5626e1e6dcb8 |
--- /dev/null |
+++ b/sandbox/win/src/lpc_policy.cc |
@@ -0,0 +1,19 @@ |
+// Copyright 2015 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 "sandbox/win/src/lpc_policy.h" |
+ |
+namespace sandbox { |
+ |
+bool LpcPolicy::GenerateRules(const wchar_t* name, |
+ TargetPolicy::Semantics semantics, |
+ LowLevelPolicy* policy) { |
+ PolicyRule rule(FAKE_SUCCESS); |
+ if (!policy->AddRule(IPC_NTCONNECTALPCPORT_TAG, &rule)) |
+ return false; |
+ return true; |
+} |
+ |
+} // namespace sandbox |
+ |