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

Side by Side Diff: content/public/common/pepper_plugin_info.cc

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/public/common/pepper_plugin_info.h" 5 #include "content/public/common/pepper_plugin_info.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 PepperPluginInfo::EntryPoints::EntryPoints()
12 : get_interface(NULL),
13 initialize_module(NULL),
14 shutdown_module(NULL) {
15 }
16
11 PepperPluginInfo::PepperPluginInfo() 17 PepperPluginInfo::PepperPluginInfo()
12 : is_internal(false), 18 : is_internal(false),
13 is_out_of_process(false), 19 is_out_of_process(false),
14 is_sandboxed(true), 20 is_sandboxed(true),
15 permissions(0) { 21 permissions(0) {
16 } 22 }
17 23
18 PepperPluginInfo::~PepperPluginInfo() { 24 PepperPluginInfo::~PepperPluginInfo() {
19 } 25 }
20 26
(...skipping 11 matching lines...) Expand all
32 info.path = path; 38 info.path = path;
33 info.version = ASCIIToUTF16(version); 39 info.version = ASCIIToUTF16(version);
34 info.desc = ASCIIToUTF16(description); 40 info.desc = ASCIIToUTF16(description);
35 info.mime_types = mime_types; 41 info.mime_types = mime_types;
36 info.pepper_permissions = permissions; 42 info.pepper_permissions = permissions;
37 43
38 return info; 44 return info;
39 } 45 }
40 46
41 } // namespace content 47 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/pepper_plugin_info.h ('k') | content/public/renderer/ppapi_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698