[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git] / content / common / pepper_plugin_list.h
blobd460e08477805e9d8b43a41dde8d3746c2b3f49b
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 namespace content {
11 struct PepperPluginInfo;
12 struct WebPluginInfo;
14 // Constructs a PepperPluginInfo from a WebPluginInfo. Returns false if
15 // the operation is not possible, in particular the WebPluginInfo::type
16 // must be one of the pepper types.
17 bool MakePepperPluginInfo(const WebPluginInfo& webplugin_info,
18 PepperPluginInfo* pepper_info);
20 // Computes the list of known pepper plugins.
21 void ComputePepperPluginList(std::vector<PepperPluginInfo>* plugins);
23 } // namespace content
25 #endif // CONTENT_COMMON_PEPPER_PLUGIN_LIST_H_