Chromium Code Reviews| 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 |