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

Side by Side Diff: chrome/renderer/pepper_plugin_registry.h

Issue 2262002: Add ppapi plugins to about:plugins (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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
OLDNEW
(Empty)
1 // Copyright (c) 2010 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.
4
5 #ifndef CHROME_RENDERER_PEPPER_PLUGIN_REGISTRY_H_
6 #define CHROME_RENDERER_PEPPER_PLUGIN_REGISTRY_H_
7
8 #include <string>
9 #include <map>
10
11 #include "webkit/glue/plugins/pepper_plugin_module.h"
12
13 // This class holds references to all of the known pepper plugin modules.
14 class PepperPluginRegistry {
15 public:
16 static PepperPluginRegistry* GetInstance();
17
18 pepper::PluginModule* GetModule(const std::string& mime_type) const;
19
20 private:
21 PepperPluginRegistry();
22
23 typedef scoped_refptr<pepper::PluginModule> ModuleHandle;
24 typedef std::map<std::string, ModuleHandle> ModuleMap;
25 ModuleMap modules_;
26 };
27
28 #endif // CHROME_RENDERER_PEPPER_PLUGIN_REGISTRY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698