| 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..ea988f560634a54428d08e6e0e7e80380476bb2a 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();
|
| @@ -61,6 +67,10 @@ class PluginManager : public BrowserContextKeyedAPI,
|
|
|
| extensions::NaClModuleInfo::List nacl_module_list_;
|
|
|
| + // The set of extensions that are registered as the handler for at least one
|
| + // MIME type.
|
| + std::set<std::string> mime_type_handler_extension_ids_;
|
| +
|
| Profile* profile_;
|
|
|
| // Listen to extension load, unloaded notifications.
|
|
|