Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / content / common / pepper_plugin_list.h
blob1d06419b5f133c3b28bcc273151ee6743481be30
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_PEPPER_PLUGIN_LIST_H_
6 #define CONTENT_COMMON_PEPPER_PLUGIN_LIST_H_
8 #include <vector>
10 #if !defined(ENABLE_PLUGINS)
11 #error "Plugins should be enabled"
12 #endif
14 namespace content {
16 struct PepperPluginInfo;
17 struct WebPluginInfo;
19 // Constructs a PepperPluginInfo from a WebPluginInfo. Returns false if
20 // the operation is not possible, in particular the WebPluginInfo::type
21 // must be one of the pepper types.
22 bool MakePepperPluginInfo(const WebPluginInfo& webplugin_info,
23 PepperPluginInfo* pepper_info);
25 // Computes the list of known pepper plugins.
26 void ComputePepperPluginList(std::vector<PepperPluginInfo>* plugins);
28 } // namespace content
30 #endif // CONTENT_COMMON_PEPPER_PLUGIN_LIST_H_