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

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

Issue 10735011: Add permissions buts for Pepper plugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/content_common.gypi ('k') | content/public/common/pepper_plugin_info.cc » ('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) 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 #ifndef CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_
6 #define CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ 6 #define CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 26 matching lines...) Expand all
37 37
38 FilePath path; // Internal plugins have "internal-[name]" as path. 38 FilePath path; // Internal plugins have "internal-[name]" as path.
39 std::string name; 39 std::string name;
40 std::string description; 40 std::string description;
41 std::string version; 41 std::string version;
42 std::vector<webkit::WebPluginMimeType> mime_types; 42 std::vector<webkit::WebPluginMimeType> mime_types;
43 43
44 // When is_internal is set, this contains the function pointers to the 44 // When is_internal is set, this contains the function pointers to the
45 // entry points for the internal plugins. 45 // entry points for the internal plugins.
46 webkit::ppapi::PluginModule::EntryPoints internal_entry_points; 46 webkit::ppapi::PluginModule::EntryPoints internal_entry_points;
47
48 // Permission bits from ppapi::Permission.
49 uint32 permissions;
47 }; 50 };
48 51
49 } // namespace content 52 } // namespace content
50 53
51 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ 54 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/pepper_plugin_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698