1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/common/main_function_params.h"
6 #include "content/common/result_codes.h"
8 // Native Client binary for 64-bit Windows can run only the NaCl loader or
9 // the sandbox broker processes. Other process types are not supported.
10 int BrowserMain(const MainFunctionParams
& parameters
) {
11 return ResultCodes::BAD_PROCESS_TYPE
;
14 int RendererMain(const MainFunctionParams
& parameters
) {
15 return ResultCodes::BAD_PROCESS_TYPE
;
18 int PluginMain(const MainFunctionParams
& parameters
) {
19 return ResultCodes::BAD_PROCESS_TYPE
;
22 int PpapiPluginMain(const MainFunctionParams
& parameters
) {
23 return ResultCodes::BAD_PROCESS_TYPE
;
26 int WorkerMain(const MainFunctionParams
& parameters
) {
27 return ResultCodes::BAD_PROCESS_TYPE
;
30 int UtilityMain(const MainFunctionParams
& parameters
) {
31 return ResultCodes::BAD_PROCESS_TYPE
;
34 int ProfileImportMain(const MainFunctionParams
& parameters
) {
35 return ResultCodes::BAD_PROCESS_TYPE
;
38 int ZygoteMain(const MainFunctionParams
& parameters
) {
39 return ResultCodes::BAD_PROCESS_TYPE
;
42 int DiagnosticsMain(const CommandLine
& command_line
) {
46 int GpuMain(const MainFunctionParams
&) {
47 return ResultCodes::BAD_PROCESS_TYPE
;
50 int ServiceProcessMain(const MainFunctionParams
& parameters
) {
51 return ResultCodes::BAD_PROCESS_TYPE
;