Chromium Code Reviews| Index: chrome/nacl/nacl_exe_win_64.cc |
| =================================================================== |
| --- chrome/nacl/nacl_exe_win_64.cc (revision 0) |
| +++ chrome/nacl/nacl_exe_win_64.cc (revision 0) |
| @@ -0,0 +1,21 @@ |
| +// 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. |
| + |
| +#include "base/at_exit.h" |
| +#include "base/command_line.h" |
| +#include "base/scoped_ptr.h" |
| +#include "chrome/app/client_util.h" |
| +#include "content/app/sandbox_helper_win.h" |
| +#include "sandbox/src/sandbox_types.h" |
| + |
| +int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t*, int) { |
|
Brad Chen (chromium)
2011/09/11 17:35:37
For my edification, what does the w before WinMain
jam
2011/09/11 22:51:37
This is the entry point that Windows looks for. Th
|
| + sandbox::SandboxInterfaceInfo sandbox_info = {0}; |
| + content::InitializeSandboxInfo(&sandbox_info); |
| + |
| + base::AtExitManager exit_manager; |
| + CommandLine::Init(0, NULL); |
| + |
| + scoped_ptr<MainDllLoader> loader(MakeMainDllLoader()); |
| + return loader->Launch(instance, &sandbox_info); |
| +} |
| Property changes on: chrome\nacl\nacl_exe_win_64.cc |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |