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

Side by Side Diff: src/trusted/plugin/method_map.h

Issue 2981011: Move plugin/srpc contents to the more appropriately named plugin/common.... (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: '' Created 10 years, 5 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 | « src/trusted/plugin/desc_based_handle.cc ('k') | src/trusted/plugin/method_map.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:mergeinfo
OLDNEW
1 /* 1 /*
2 * Copyright 2008 The Native Client Authors. All rights reserved. 2 * Copyright 2008 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 // Lookup table types for method dispatching. 7 // Lookup table types for method dispatching.
8 8
9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_METHOD_MAP_H 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_METHOD_MAP_H
10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_METHOD_MAP_H 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_METHOD_MAP_H
11 11
12 #include "native_client/src/include/nacl_macros.h" 12 #include "native_client/src/include/nacl_macros.h"
13 #include "native_client/src/include/portability_string.h" 13 #include "native_client/src/include/portability_string.h"
14 #include "native_client/src/shared/srpc/nacl_srpc.h" 14 #include "native_client/src/shared/srpc/nacl_srpc.h"
15 15
16 #include <limits.h> 16 #include <limits.h>
17 #include <map> 17 #include <map>
18 18
19 namespace plugin { 19 namespace plugin {
20 20
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void AddMethod(uintptr_t method_id, MethodInfo* info); 111 void AddMethod(uintptr_t method_id, MethodInfo* info);
112 112
113 private: 113 private:
114 NACL_DISALLOW_COPY_AND_ASSIGN(MethodMap); 114 NACL_DISALLOW_COPY_AND_ASSIGN(MethodMap);
115 typedef std::map<uintptr_t, MethodInfo*> MethodMapStorage; 115 typedef std::map<uintptr_t, MethodInfo*> MethodMapStorage;
116 MethodMapStorage method_map_; 116 MethodMapStorage method_map_;
117 }; 117 };
118 118
119 } // namespace plugin 119 } // namespace plugin
120 120
121 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_METHOD_MAP_H 121 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_METHOD_MAP_H
OLDNEW
« no previous file with comments | « src/trusted/plugin/desc_based_handle.cc ('k') | src/trusted/plugin/method_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698