Chromium Code Reviews| Index: chrome/browser/extensions/plugin_manager.h |
| diff --git a/chrome/browser/extensions/plugin_manager.h b/chrome/browser/extensions/plugin_manager.h |
| index 9c8d046453053298c48f6e5d4022d952d7c46b57..59a73251873b9580c39d3c8c71c838d28f825c1e 100644 |
| --- a/chrome/browser/extensions/plugin_manager.h |
| +++ b/chrome/browser/extensions/plugin_manager.h |
| @@ -5,6 +5,8 @@ |
| #ifndef CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_ |
| #define CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_ |
| +#include <set> |
|
not at google - send to devlin
2014/04/30 00:48:51
<string> while you're here too
Zachary Kuznia
2014/04/30 01:23:35
Done.
|
| + |
| #include "base/scoped_observer.h" |
| #include "chrome/common/extensions/manifest_handlers/nacl_modules_handler.h" |
| #include "extensions/browser/browser_context_keyed_api_factory.h" |
| @@ -41,6 +43,9 @@ class PluginManager : public BrowserContextKeyedAPI, |
| void RegisterNaClModule(const NaClModuleInfo& info); |
| void UnregisterNaClModule(const NaClModuleInfo& info); |
| + void RegisterMimeTypeHandler(const std::string& extension_id); |
| + void UnregisterMimeTypeHandler(const std::string& extension_id); |
| + |
| // Call UpdatePluginListWithNaClModules() after registering or unregistering |
| // a NaCl module to see those changes reflected in the PluginList. |
| void UpdatePluginListWithNaClModules(); |
| @@ -60,6 +65,7 @@ class PluginManager : public BrowserContextKeyedAPI, |
| static const bool kServiceIsNULLWhileTesting = true; |
| extensions::NaClModuleInfo::List nacl_module_list_; |
| + std::set<std::string> mime_type_handler_; |
| Profile* profile_; |