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

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

Issue 1296223005: Continuing changes for lpc proxy Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months 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/lpc_policy.h ('k') | sandbox/win/src/nt_internals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+
« no previous file with comments | « sandbox/win/src/lpc_policy.h ('k') | sandbox/win/src/nt_internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698