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

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

Issue 19462016: Move npapi related files from content\child to the new content\child\npapi directory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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/child/plugin_param_traits.h ('k') | content/content_child.gypi » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/child/plugin_param_traits.h" 5 #include "content/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 "content/child/npapi/plugin_host.h" 8 #include "content/child/npapi/plugin_host.h"
9 #include "content/child/npruntime_util.h"
10 #include "ipc/ipc_message_utils.h" 9 #include "ipc/ipc_message_utils.h"
11 #include "third_party/WebKit/public/web/WebBindings.h" 10 #include "third_party/WebKit/public/web/WebBindings.h"
12 11
13 namespace content { 12 namespace content {
14 13
15 NPIdentifier_Param::NPIdentifier_Param() 14 NPIdentifier_Param::NPIdentifier_Param()
16 : identifier() { 15 : identifier() {
17 } 16 }
18 17
19 NPIdentifier_Param::~NPIdentifier_Param() { 18 NPIdentifier_Param::~NPIdentifier_Param() {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 NPUTF8* str = WebKit::WebBindings::utf8FromIdentifier(p.identifier); 128 NPUTF8* str = WebKit::WebBindings::utf8FromIdentifier(p.identifier);
130 l->append(str); 129 l->append(str);
131 content::PluginHost::Singleton()->host_functions()->memfree(str); 130 content::PluginHost::Singleton()->host_functions()->memfree(str);
132 } else { 131 } else {
133 l->append(base::IntToString( 132 l->append(base::IntToString(
134 WebKit::WebBindings::intFromIdentifier(p.identifier))); 133 WebKit::WebBindings::intFromIdentifier(p.identifier)));
135 } 134 }
136 } 135 }
137 136
138 } // namespace IPC 137 } // namespace IPC
OLDNEW
« no previous file with comments | « content/child/plugin_param_traits.h ('k') | content/content_child.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698