| 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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 std::string* l) { | 639 std::string* l) { |
| 640 } | 640 } |
| 641 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 641 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| 642 | 642 |
| 643 // PPB_X509Certificate_Fields -------------------------------------------------- | 643 // PPB_X509Certificate_Fields -------------------------------------------------- |
| 644 | 644 |
| 645 // static | 645 // static |
| 646 void ParamTraits<ppapi::PPB_X509Certificate_Fields>::Write( | 646 void ParamTraits<ppapi::PPB_X509Certificate_Fields>::Write( |
| 647 Message* m, | 647 Message* m, |
| 648 const param_type& p) { | 648 const param_type& p) { |
| 649 ParamTraits<ListValue>::Write(m, p.values_); | 649 ParamTraits<base::ListValue>::Write(m, p.values_); |
| 650 } | 650 } |
| 651 | 651 |
| 652 // static | 652 // static |
| 653 bool ParamTraits<ppapi::PPB_X509Certificate_Fields>::Read(const Message* m, | 653 bool ParamTraits<ppapi::PPB_X509Certificate_Fields>::Read(const Message* m, |
| 654 PickleIterator* iter, | 654 PickleIterator* iter, |
| 655 param_type* r) { | 655 param_type* r) { |
| 656 return ParamTraits<ListValue>::Read(m, iter, &(r->values_)); | 656 return ParamTraits<base::ListValue>::Read(m, iter, &(r->values_)); |
| 657 } | 657 } |
| 658 | 658 |
| 659 // static | 659 // static |
| 660 void ParamTraits<ppapi::PPB_X509Certificate_Fields>::Log(const param_type& p, | 660 void ParamTraits<ppapi::PPB_X509Certificate_Fields>::Log(const param_type& p, |
| 661 std::string* l) { | 661 std::string* l) { |
| 662 } | 662 } |
| 663 | 663 |
| 664 // ppapi::SocketOptionData ----------------------------------------------------- | 664 // ppapi::SocketOptionData ----------------------------------------------------- |
| 665 | 665 |
| 666 // static | 666 // static |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 } | 731 } |
| 732 return false; | 732 return false; |
| 733 } | 733 } |
| 734 | 734 |
| 735 // static | 735 // static |
| 736 void ParamTraits<ppapi::SocketOptionData>::Log(const param_type& p, | 736 void ParamTraits<ppapi::SocketOptionData>::Log(const param_type& p, |
| 737 std::string* l) { | 737 std::string* l) { |
| 738 } | 738 } |
| 739 | 739 |
| 740 } // namespace IPC | 740 } // namespace IPC |
| OLD | NEW |