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

Side by Side Diff: content/common_child/plugin_param_traits.cc

Issue 15047014: Move child-common classes to content/common_child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « content/common_child/plugin_param_traits.h ('k') | content/content.gyp » ('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) 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
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
OLDNEW
« no previous file with comments | « content/common_child/plugin_param_traits.h ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698