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

Unified Diff: ppapi/proxy/plugin_main_nacl.cc

Issue 10546140: Add untrusted NaCl build for PPAPI proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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: ppapi/proxy/plugin_main_nacl.cc
===================================================================
--- ppapi/proxy/plugin_main_nacl.cc (revision 0)
+++ ppapi/proxy/plugin_main_nacl.cc (revision 0)
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2012 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 "native_client/src/shared/ppapi_proxy/ppruntime.h"
+
+// This definition is weak to allow customers to override it when
+// initialization is needed before the main PPAPI processing happens.
+
+int __attribute__((weak)) main(int argc, char* argv[]) {
Mark Seaborn 2012/06/13 20:27:37 This file looks roughly like NaCl's src/untrusted/
bbudge 2012/06/14 02:45:10 This was copied from the SRPC proxy library, pprun
+ return PpapiPluginMain();
+}
+
Property changes on: ppapi/proxy/plugin_main_nacl.cc
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698