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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 16171011: Move parsing of NaCl modules out of Extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: plugin manager Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index ea62a5b53ffe5cb08e004480a67a7014d0fd325d..9cdece60a06b07dcc03d4614031d31729132e60b 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
-#include <list>
#include <map>
#include <set>
#include <string>
@@ -692,15 +691,6 @@ class ExtensionService
};
typedef std::map<std::string, ExtensionRuntimeData> ExtensionRuntimeDataMap;
- struct NaClModuleInfo {
- NaClModuleInfo();
- ~NaClModuleInfo();
-
- GURL url;
- std::string mime_type;
- };
- typedef std::list<NaClModuleInfo> NaClModuleInfoList;
-
// Signals *ready_ and sends a notification to the listeners.
void SetReadyAndNotifyListeners();
@@ -773,21 +763,6 @@ class ExtensionService
// Helper that updates the active extension list used for crash reporting.
void UpdateActiveExtensionsInCrashReporter();
- // We implement some Pepper plug-ins using NaCl to take advantage of NaCl's
- // strong sandbox. Typically, these NaCl modules are stored in extensions
- // and registered here. Not all NaCl modules need to register for a MIME
- // type, just the ones that are responsible for rendering a particular MIME
- // type, like application/pdf. Note: We only register NaCl modules in the
- // browser process.
- void RegisterNaClModule(const GURL& url, const std::string& mime_type);
- void UnregisterNaClModule(const GURL& url);
-
- // Call UpdatePluginListWithNaClModules() after registering or unregistering
- // a NaCl module to see those changes reflected in the PluginList.
- void UpdatePluginListWithNaClModules();
-
- NaClModuleInfoList::iterator FindNaClModule(const GURL& url);
-
// Performs tasks requested to occur after |extension| loads.
void DoPostLoadTasks(const extensions::Extension* extension);
@@ -964,8 +939,6 @@ class ExtensionService
// first time.
bool is_first_run_;
- NaClModuleInfoList nacl_module_list_;
-
extensions::AppSyncBundle app_sync_bundle_;
extensions::ExtensionSyncBundle extension_sync_bundle_;
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | chrome/browser/extensions/plugin_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698