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

Side by Side Diff: src/trusted/service_runtime/sel_ldr_thread_interface.c

Issue 7108031: this patch adds the manifest proxy server to sel_ldr and the manifest (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #include "native_client/src/trusted/service_runtime/sel_ldr_thread_interface.h" 7 #include "native_client/src/trusted/service_runtime/sel_ldr_thread_interface.h"
8 8
9 #include "native_client/src/trusted/service_runtime/sel_ldr.h" 9 #include "native_client/src/trusted/service_runtime/sel_ldr.h"
10 #include "native_client/src/trusted/threading/nacl_thread_interface.h" 10 #include "native_client/src/trusted/threading/nacl_thread_interface.h"
(...skipping 23 matching lines...) Expand all
34 NaClLog(3, 34 NaClLog(3,
35 ("NaClAddrSpSquattingThreadIfCtor_protected: placement base class" 35 ("NaClAddrSpSquattingThreadIfCtor_protected: placement base class"
36 " ctor failed\n")); 36 " ctor failed\n"));
37 return 0; 37 return 0;
38 } 38 }
39 39
40 self->nap = (struct NaClApp *) factory_data; 40 self->nap = (struct NaClApp *) factory_data;
41 NACL_VTBL(NaClRefCount, self) = 41 NACL_VTBL(NaClRefCount, self) =
42 (struct NaClRefCountVtbl *) &kNaClAddrSpSquattingThreadInterfaceVtbl; 42 (struct NaClRefCountVtbl *) &kNaClAddrSpSquattingThreadInterfaceVtbl;
43 43
44 NaClLog(3, "Leaving NaClAddrSpSquattingThreadIfCtor_protectedn"); 44 NaClLog(3, "Leaving NaClAddrSpSquattingThreadIfCtor_protected\n");
45 return 1; 45 return 1;
46 } 46 }
47 47
48 int NaClAddrSpSquattingThreadIfFactoryFunction( 48 int NaClAddrSpSquattingThreadIfFactoryFunction(
49 void *factory_data, 49 void *factory_data,
50 NaClThreadIfStartFunction thread_fn_ptr, 50 NaClThreadIfStartFunction thread_fn_ptr,
51 void *thread_fn_data, 51 void *thread_fn_data,
52 size_t thread_stack_size, 52 size_t thread_stack_size,
53 struct NaClThreadInterface **out_new_thread) { 53 struct NaClThreadInterface **out_new_thread) {
54 struct NaClAddrSpSquattingThreadInterface *new_thread; 54 struct NaClAddrSpSquattingThreadInterface *new_thread;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } 110 }
111 111
112 struct NaClThreadInterfaceVtbl const kNaClAddrSpSquattingThreadInterfaceVtbl = { 112 struct NaClThreadInterfaceVtbl const kNaClAddrSpSquattingThreadInterfaceVtbl = {
113 { 113 {
114 NaClThreadInterfaceDtor, 114 NaClThreadInterfaceDtor,
115 }, 115 },
116 NaClAddrSpSquattingThreadIfStartThread, 116 NaClAddrSpSquattingThreadIfStartThread,
117 NaClAddrSpSquattingThreadIfLaunchCallback, 117 NaClAddrSpSquattingThreadIfLaunchCallback,
118 NaClThreadInterfaceExit, 118 NaClThreadInterfaceExit,
119 }; 119 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698