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

Unified Diff: ppapi/proxy/ppapi_param_traits.h

Issue 8506016: Remove 'Flash' from TCP/UDP Pepper interfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppapi_param_traits.h
diff --git a/ppapi/proxy/ppapi_param_traits.h b/ppapi/proxy/ppapi_param_traits.h
index 0c2ab5bf5f1630c6d7940cf2e3b357b5471e5405..b13ccb462c701d62ec130c263e5fc6d619148680 100644
--- a/ppapi/proxy/ppapi_param_traits.h
+++ b/ppapi/proxy/ppapi_param_traits.h
@@ -20,6 +20,7 @@ struct PP_FileInfo;
struct PP_ObjectProperty;
struct PP_Flash_Menu;
struct PP_Flash_NetAddress;
+struct PP_NetAddress;
namespace ppapi {
@@ -57,6 +58,16 @@ struct ParamTraits<PP_FileInfo> {
};
template <>
+struct PPAPI_PROXY_EXPORT ParamTraits<PP_NetAddress> {
+ typedef PP_NetAddress param_type;
+ static void Write(Message* m, const param_type& p);
+ static bool Read(const Message* m, void** iter, param_type* p);
+ static void Log(const param_type& p, std::string* l);
+};
+
+// TODO(dpolukhin): Replace all references to PP_Flash_NetAddress
+// with PP_NetAddress they are identical.
+template <>
struct PPAPI_PROXY_EXPORT ParamTraits<PP_Flash_NetAddress> {
typedef PP_Flash_NetAddress param_type;
static void Write(Message* m, const param_type& p);

Powered by Google App Engine
This is Rietveld 408576698