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

Side by Side Diff: ppapi/proxy/ppapi_param_traits.h

Issue 10916040: Add TCP and UDP proxies to NaCl IPC IRT build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppapi_param_traits.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_ 5 #ifndef PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_
6 #define PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_ 6 #define PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 }; 157 };
158 158
159 #if !defined(OS_NACL) && !defined(NACL_WIN64) 159 #if !defined(OS_NACL) && !defined(NACL_WIN64)
160 template<> 160 template<>
161 struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::proxy::SerializedFlashMenu> { 161 struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::proxy::SerializedFlashMenu> {
162 typedef ppapi::proxy::SerializedFlashMenu param_type; 162 typedef ppapi::proxy::SerializedFlashMenu param_type;
163 static void Write(Message* m, const param_type& p); 163 static void Write(Message* m, const param_type& p);
164 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 164 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
165 static void Log(const param_type& p, std::string* l); 165 static void Log(const param_type& p, std::string* l);
166 }; 166 };
167 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
167 168
168 template<> 169 template<>
169 struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::PPB_X509Certificate_Fields> { 170 struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::PPB_X509Certificate_Fields> {
170 typedef ppapi::PPB_X509Certificate_Fields param_type; 171 typedef ppapi::PPB_X509Certificate_Fields param_type;
171 static void Write(Message* m, const param_type& p); 172 static void Write(Message* m, const param_type& p);
172 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 173 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
173 static void Log(const param_type& p, std::string* l); 174 static void Log(const param_type& p, std::string* l);
174 }; 175 };
175 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
176 176
177 177
178 } // namespace IPC 178 } // namespace IPC
179 179
180 #endif // PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_ 180 #endif // PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppapi_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698