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

Unified Diff: components/nacl/loader/nonsfi/abi_conversion.h

Issue 131133002: Implement nacl_irt_fdio for non-sfi mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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: components/nacl/loader/nonsfi/abi_conversion.h
diff --git a/components/nacl/loader/nonsfi/abi_conversion.h b/components/nacl/loader/nonsfi/abi_conversion.h
new file mode 100644
index 0000000000000000000000000000000000000000..ded318ba4414007ac425306527057c5bb3cb3b97
--- /dev/null
+++ b/components/nacl/loader/nonsfi/abi_conversion.h
@@ -0,0 +1,18 @@
+// Copyright 2014 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.
+
Mark Seaborn 2014/01/10 13:11:20 This file should use the standard #ifndef+#define
hidehiko 2014/01/15 03:50:44 Oops. Good catch. Fixed.
+extern "C" {
Mark Seaborn 2014/01/10 13:11:20 'extern "C"' doesn't affect struct declarations, s
hidehiko 2014/01/15 03:50:44 Done.
+struct stat;
+struct nacl_abi_stat;
+}
+
+namespace nacl {
+namespace nonsfi {
+
+// Converts the stat struct from host's to NaCl's ABI.
+void StatToNaClAbiStat(
+ const struct stat& host_stat, struct nacl_abi_stat* nacl_stat);
+
+} // namespace nonsfi
+} // namespace nacl

Powered by Google App Engine
This is Rietveld 408576698