| OLD | NEW |
| 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 #include "ppapi/proxy/ppapi_param_traits.h" | 5 #include "ppapi/proxy/ppapi_param_traits.h" |
| 6 | 6 |
| 7 #include <string.h> // For memcpy | 7 #include <string.h> // For memcpy |
| 8 | 8 |
| 9 #include "ppapi/c/pp_file_info.h" | 9 #include "ppapi/c/pp_file_info.h" |
| 10 #include "ppapi/c/pp_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 bool ParamTraits<ppapi::proxy::SerializedFlashMenu>::Read(const Message* m, | 543 bool ParamTraits<ppapi::proxy::SerializedFlashMenu>::Read(const Message* m, |
| 544 PickleIterator* iter, | 544 PickleIterator* iter, |
| 545 param_type* r) { | 545 param_type* r) { |
| 546 return r->ReadFromMessage(m, iter); | 546 return r->ReadFromMessage(m, iter); |
| 547 } | 547 } |
| 548 | 548 |
| 549 // static | 549 // static |
| 550 void ParamTraits<ppapi::proxy::SerializedFlashMenu>::Log(const param_type& p, | 550 void ParamTraits<ppapi::proxy::SerializedFlashMenu>::Log(const param_type& p, |
| 551 std::string* l) { | 551 std::string* l) { |
| 552 } | 552 } |
| 553 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| 553 | 554 |
| 554 // PPB_X509Certificate_Fields -------------------------------------------------- | 555 // PPB_X509Certificate_Fields -------------------------------------------------- |
| 555 | 556 |
| 556 // static | 557 // static |
| 557 void ParamTraits<ppapi::PPB_X509Certificate_Fields>::Write( | 558 void ParamTraits<ppapi::PPB_X509Certificate_Fields>::Write( |
| 558 Message* m, | 559 Message* m, |
| 559 const param_type& p) { | 560 const param_type& p) { |
| 560 ParamTraits<ListValue>::Write(m, p.values_); | 561 ParamTraits<ListValue>::Write(m, p.values_); |
| 561 } | 562 } |
| 562 | 563 |
| 563 // static | 564 // static |
| 564 bool ParamTraits<ppapi::PPB_X509Certificate_Fields>::Read(const Message* m, | 565 bool ParamTraits<ppapi::PPB_X509Certificate_Fields>::Read(const Message* m, |
| 565 PickleIterator* iter, | 566 PickleIterator* iter, |
| 566 param_type* r) { | 567 param_type* r) { |
| 567 return ParamTraits<ListValue>::Read(m, iter, &(r->values_)); | 568 return ParamTraits<ListValue>::Read(m, iter, &(r->values_)); |
| 568 } | 569 } |
| 569 | 570 |
| 570 // static | 571 // static |
| 571 void ParamTraits<ppapi::PPB_X509Certificate_Fields>::Log(const param_type& p, | 572 void ParamTraits<ppapi::PPB_X509Certificate_Fields>::Log(const param_type& p, |
| 572 std::string* l) { | 573 std::string* l) { |
| 573 } | 574 } |
| 574 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | |
| 575 | 575 |
| 576 } // namespace IPC | 576 } // namespace IPC |
| OLD | NEW |