OLD | NEW |
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 Loading... |
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 |
OLD | NEW |