Index: extensions/browser/extension_registry.h |
diff --git a/extensions/browser/extension_registry.h b/extensions/browser/extension_registry.h |
index fa5b49365aa1ada60d91a53684ffac0ae9a9720b..fb7a9a502a9e634d1576afb63ab481628d118c42 100644 |
--- a/extensions/browser/extension_registry.h |
+++ b/extensions/browser/extension_registry.h |
@@ -123,6 +123,10 @@ class ExtensionRegistry : public KeyedService { |
const Extension* GetExtensionById(const std::string& id, |
int include_mask) const; |
+ // Looks up an extension by ID, regardless of whether it's enabled, |
+ // disabled, blacklisted, or terminated. |
+ const Extension* GetInstalledExtension(const std::string& id) const; |
+ |
// Adds the specified extension to the enabled set. The registry becomes an |
// owner. Any previous extension with the same ID is removed. |
// Returns true if there is no previous extension. |