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

Unified Diff: src/trusted/service_runtime/load_file.h

Issue 12226119: Factor out duplicated GioMemoryFileSnapshotCtor() + NaClAppLoadFile() calls (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 10 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 | « src/trusted/service_runtime/build.scons ('k') | src/trusted/service_runtime/load_file.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/load_file.h
diff --git a/src/trusted/service_runtime/load_file.h b/src/trusted/service_runtime/load_file.h
new file mode 100644
index 0000000000000000000000000000000000000000..cc9135e957a75ce0cc1dcac6dea5d6474f1f474e
--- /dev/null
+++ b/src/trusted/service_runtime/load_file.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2013 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_LOAD_FILE_H_
+#define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_LOAD_FILE_H_ 1
+
+#include "native_client/src/include/nacl_base.h"
+#include "native_client/src/include/nacl_compiler_annotations.h"
+#include "native_client/src/trusted/service_runtime/nacl_error_code.h"
+
+EXTERN_C_BEGIN
+
+struct NaClApp;
+
+NaClErrorCode NaClAppLoadFileFromFilename(struct NaClApp *nap,
+ const char *filename) NACL_WUR;
+
+EXTERN_C_END
+
+#endif
« no previous file with comments | « src/trusted/service_runtime/build.scons ('k') | src/trusted/service_runtime/load_file.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698