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

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

Issue 2434103005: Do not replace up-to-date System Flash with Component Flash. (Closed)
Patch Set: Through #10 Created 4 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // True when this plugin should be run out of process. Defaults to false. 51 // True when this plugin should be run out of process. Defaults to false.
52 bool is_out_of_process; 52 bool is_out_of_process;
53 53
54 base::FilePath path; // Internal plugins have "internal-[name]" as path. 54 base::FilePath path; // Internal plugins have "internal-[name]" as path.
55 std::string name; 55 std::string name;
56 std::string description; 56 std::string description;
57 std::string version; 57 std::string version;
58 std::vector<WebPluginMimeType> mime_types; 58 std::vector<WebPluginMimeType> mime_types;
59 59
60 // True when the plugin has been detected as the debug version.
61 // Defaults to false.
62 bool is_debug;
63
64 // True when the plugin is on a local drive. The sandbox will not successfully
65 // load a plugin on a remote drive.
66 // Defaults to true.
67 bool is_on_local_drive;
68
69 // True when the plugin is an external plugin i.e. not bundled with Chrome or 60 // True when the plugin is an external plugin i.e. not bundled with Chrome or
70 // via the component updater. 61 // via the component updater.
71 // Defaults to false. 62 // Defaults to false.
72 bool is_external; 63 bool is_external;
73 64
74 // True when the plugin is bundled with Chrome.
75 // Defaults to false.
76 bool is_bundled;
77
78 // When is_internal is set, this contains the function pointers to the 65 // When is_internal is set, this contains the function pointers to the
79 // entry points for the internal plugins. 66 // entry points for the internal plugins.
80 EntryPoints internal_entry_points; 67 EntryPoints internal_entry_points;
81 68
82 // Permission bits from ppapi::Permission. 69 // Permission bits from ppapi::Permission.
83 uint32_t permissions; 70 uint32_t permissions;
84 }; 71 };
85 72
86 } // namespace content 73 } // namespace content
87 74
88 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ 75 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_content_client_unittest.cc ('k') | content/public/common/pepper_plugin_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698