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..faf64f845f27e87fe2a86269a6dc5a2db7dfe354 100644 |
| --- a/chrome/browser/extensions/plugin_manager.h |
| +++ b/chrome/browser/extensions/plugin_manager.h |
| @@ -5,6 +5,9 @@ |
| #ifndef CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_ |
| #define CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_ |
| +#include <set> |
| +#include <string> |
| + |
| #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 +44,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 +66,7 @@ class PluginManager : public BrowserContextKeyedAPI, |
| static const bool kServiceIsNULLWhileTesting = true; |
| extensions::NaClModuleInfo::List nacl_module_list_; |
| + std::set<std::string> mime_type_handler_; |
|
Yoyo Zhou
2014/04/30 14:47:19
This should be documented. It's not a great name -
Zachary Kuznia
2014/05/01 00:38:22
Added a comment and renamed the variable.
|
| Profile* profile_; |