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

Unified Diff: sandbox/mac/seatbelt.proto

Issue 2869203003: Add the SeatbeltExec classes to facilitate the V2 sandbox. (Closed)
Patch Set: Fix the last few nits. Created 3 years, 7 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/mac/sandbox_mac_seatbelt_exec_unittest.cc ('k') | sandbox/mac/seatbelt_exec.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/seatbelt.proto
diff --git a/sandbox/mac/seatbelt.proto b/sandbox/mac/seatbelt.proto
new file mode 100644
index 0000000000000000000000000000000000000000..4615402053c473fa64d6bf6048698aecbe237562
--- /dev/null
+++ b/sandbox/mac/seatbelt.proto
@@ -0,0 +1,17 @@
+// Copyright 2017 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+syntax = "proto2";
+option optimize_for = LITE_RUNTIME;
+
+package sandbox.mac;
+
+// Optional fields are considered best practice, but since the client and server
+// come from the same code base, this uses required fields to save on
+// validation.
+
+message SandboxPolicy {
+ required string profile = 1;
+ map<string, string> params = 2;
+}
« no previous file with comments | « sandbox/mac/sandbox_mac_seatbelt_exec_unittest.cc ('k') | sandbox/mac/seatbelt_exec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698