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

Side by Side Diff: chrome/app/dummy_main_functions.cc

Issue 384068: gyp changes - add support for building Native Client for 64-bit Windows... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 12 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_process_host_dummy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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.
4
5 #include "chrome/common/main_function_params.h"
6 #include "chrome/common/result_codes.h"
7
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;
12 }
13
14 int RendererMain(const MainFunctionParams& parameters) {
15 return ResultCodes::BAD_PROCESS_TYPE;
16 }
17
18 int PluginMain(const MainFunctionParams& parameters) {
19 return ResultCodes::BAD_PROCESS_TYPE;
20 }
21
22 int WorkerMain(const MainFunctionParams& parameters) {
23 return ResultCodes::BAD_PROCESS_TYPE;
24 }
25
26 int UtilityMain(const MainFunctionParams& parameters) {
27 return ResultCodes::BAD_PROCESS_TYPE;
28 }
29
30 int ProfileImportMain(const MainFunctionParams& parameters) {
31 return ResultCodes::BAD_PROCESS_TYPE;
32 }
33
34 int ZygoteMain(const MainFunctionParams& parameters) {
35 return ResultCodes::BAD_PROCESS_TYPE;
36 }
37
38 int NaClBrokerMain(const MainFunctionParams& parameters) {
39 return ResultCodes::BAD_PROCESS_TYPE;
40 }
41
42 int DiagnosticsMain(const CommandLine& command_line) {
43 return 1;
44 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_process_host_dummy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698