Move ExtensionService::GenerateInstalledExtensionsSet() to ExtensionRegistry.

Also fix profile->GetExtensionService() where seen.

BUG=351891
[email protected] (c/b/sync)
[email protected] (c/b/themes)
[email protected] (c/b/apps)
[email protected] (c/b/ui/webui/net_internals)
[email protected] (c/b/metrics)

All TBRs are for strictly mechanical changes.

Review URL: https://codereview.chromium.org/198373002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258059 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/extensions/browser/extension_registry.h b/extensions/browser/extension_registry.h
index ec15f2ec..9f2fae3 100644
--- a/extensions/browser/extension_registry.h
+++ b/extensions/browser/extension_registry.h
@@ -57,6 +57,10 @@
     return blacklisted_extensions_;
   }
 
+  // Returns a set of all installed, disabled, blacklisted, and terminated
+  // extensions.
+  scoped_ptr<ExtensionSet> GenerateInstalledExtensionsSet() const;
+
   // The usual observer interface.
   void AddObserver(ExtensionRegistryObserver* observer);
   void RemoveObserver(ExtensionRegistryObserver* observer);