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

Side by Side Diff: src/trusted/sel_universal/rpc_universal.h

Issue 10979061: Track correctly the number of secure command channel connections (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebased with master. Created 8 years, 2 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 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERSAL_RPC_UNIVERSAL_H_ 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERSAL_RPC_UNIVERSAL_H_
8 #define NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERSAL_RPC_UNIVERSAL_H_ 8 #define NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERSAL_RPC_UNIVERSAL_H_
9 9
10 #include "native_client/src/shared/srpc/nacl_srpc.h" 10 #include "native_client/src/shared/srpc/nacl_srpc.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 static bool HandleShowVariables(NaClCommandLoop* ncl, 53 static bool HandleShowVariables(NaClCommandLoop* ncl,
54 const vector<string>& args); 54 const vector<string>& args);
55 static bool HandleSetVariable(NaClCommandLoop* ncl, 55 static bool HandleSetVariable(NaClCommandLoop* ncl,
56 const vector<string>& args); 56 const vector<string>& args);
57 static bool HandleInstallUpcalls(NaClCommandLoop* ncl, 57 static bool HandleInstallUpcalls(NaClCommandLoop* ncl,
58 const vector<string>& args); 58 const vector<string>& args);
59 static bool HandleNondeterministic(NaClCommandLoop* ncl, 59 static bool HandleNondeterministic(NaClCommandLoop* ncl,
60 const vector<string>& args); 60 const vector<string>& args);
61 static bool HandleEcho(NaClCommandLoop* ncl, 61 static bool HandleEcho(NaClCommandLoop* ncl,
62 const vector<string>& args); 62 const vector<string>& args);
63 static bool HandleShutdown(NaClCommandLoop* nacl,
64 const vector<string>& args);
63 65
64 int desc_count_; 66 int desc_count_;
65 NaClSrpcService* service_; 67 NaClSrpcService* service_;
66 NaClSrpcChannel* channel_; 68 NaClSrpcChannel* channel_;
67 69
68 // map names to content 70 // map names to content
69 map<string, string> vars_; 71 map<string, string> vars_;
70 // map non-determinisic content into deterministic names 72 // map non-determinisic content into deterministic names
71 map<string, string> nondeterministic_; 73 map<string, string> nondeterministic_;
72 // map names to descriptors 74 // map names to descriptors
(...skipping 14 matching lines...) Expand all
87 bool HandlerMap(NaClCommandLoop* ncl, const vector<string>& args); 89 bool HandlerMap(NaClCommandLoop* ncl, const vector<string>& args);
88 bool HandlerSaveToFile(NaClCommandLoop* ncl, const vector<string>& args); 90 bool HandlerSaveToFile(NaClCommandLoop* ncl, const vector<string>& args);
89 bool HandlerLoadFromFile(NaClCommandLoop* ncl, const vector<string>& args); 91 bool HandlerLoadFromFile(NaClCommandLoop* ncl, const vector<string>& args);
90 bool HandlerFileSize(NaClCommandLoop* ncl, const vector<string>& args); 92 bool HandlerFileSize(NaClCommandLoop* ncl, const vector<string>& args);
91 bool HandlerSyncSocketCreate(NaClCommandLoop* ncl, 93 bool HandlerSyncSocketCreate(NaClCommandLoop* ncl,
92 const vector<string>& args); 94 const vector<string>& args);
93 bool HandlerSyncSocketWrite(NaClCommandLoop* ncl, 95 bool HandlerSyncSocketWrite(NaClCommandLoop* ncl,
94 const vector<string>& args); 96 const vector<string>& args);
95 97
96 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERSAL_RPC_UNIVERSAL_H_ */ 98 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERSAL_RPC_UNIVERSAL_H_ */
OLDNEW
« no previous file with comments | « src/trusted/sel_universal/reverse_emulate.cc ('k') | src/trusted/sel_universal/sel_universal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698