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

Unified Diff: chrome/nacl/nacl_helper_linux.h

Issue 6995121: New NaCl zygote implementation 2 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: NaCl helper for Chrome Linux zygote Created 9 years, 6 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
Index: chrome/nacl/nacl_helper_linux.h
diff --git a/chrome/nacl/nacl_helper_linux.h b/chrome/nacl/nacl_helper_linux.h
new file mode 100644
index 0000000000000000000000000000000000000000..498e7fbe8805521c3cbed4d4621cbb6f053c7cba
--- /dev/null
+++ b/chrome/nacl/nacl_helper_linux.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2011 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.
+
+// A mini-zygote specifically for Native Client.
+
+// Please do not include Chrome-specific include files here.
+// This include file is meant to be useable outside of Chrome.
agl 2011/06/10 17:28:03 s/useable/usable/
Brad Chen 2011/06/14 00:16:01 Done.
+#ifndef CHROME_NACL_NACL_HELPER_LINUX_H_
+#define CHROME_NACL_NACL_HELPER_LINUX_H_
+#pragma once
+
+static const char kNaClHelperMagic[] = "NACLHELPER_OK";
+static const char kNaClChildMagic[] = "NACLCHILD_OK";
+static const char kNaClForkRequest[] = "NACLFORK";
+static const int kZygoteDescriptor = 3;
+
+#endif // CHROME_NACL_NACL_HELPER_LINUX_H_

Powered by Google App Engine
This is Rietveld 408576698