| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "content/common/plugin_param_traits.h" | 5 #include "content/common_child/plugin_param_traits.h" |
| 6 | 6 |
| 7 #include "base/strings/string_number_conversions.h" | 7 #include "base/strings/string_number_conversions.h" |
| 8 #include "ipc/ipc_message_utils.h" | 8 #include "ipc/ipc_message_utils.h" |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
| 10 #include "webkit/glue/npruntime_util.h" | 10 #include "webkit/glue/npruntime_util.h" |
| 11 #include "webkit/plugins/npapi/plugin_host.h" | 11 #include "webkit/plugins/npapi/plugin_host.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 NPIdentifier_Param::NPIdentifier_Param() | 15 NPIdentifier_Param::NPIdentifier_Param() |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 NPUTF8* str = WebKit::WebBindings::utf8FromIdentifier(p.identifier); | 124 NPUTF8* str = WebKit::WebBindings::utf8FromIdentifier(p.identifier); |
| 125 l->append(str); | 125 l->append(str); |
| 126 webkit::npapi::PluginHost::Singleton()->host_functions()->memfree(str); | 126 webkit::npapi::PluginHost::Singleton()->host_functions()->memfree(str); |
| 127 } else { | 127 } else { |
| 128 l->append(base::IntToString( | 128 l->append(base::IntToString( |
| 129 WebKit::WebBindings::intFromIdentifier(p.identifier))); | 129 WebKit::WebBindings::intFromIdentifier(p.identifier))); |
| 130 } | 130 } |
| 131 } | 131 } |
| 132 | 132 |
| 133 } // namespace IPC | 133 } // namespace IPC |
| OLD | NEW |