diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-15 17:29:32 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-15 17:29:32 +0000 |
commit | 9f1087e1370ecdbb3a9670a9ab542e317c00bb7d (patch) | |
tree | e2ca81d0d64c825a1eed007e3a28a50e0e27c231 /chrome/browser/extensions/extension_page_actions_module.cc | |
parent | 4b5370ada28790dac39a1c21ac000ff750d28eac (diff) | |
download | chromium_src-9f1087e1370ecdbb3a9670a9ab542e317c00bb7d.zip chromium_src-9f1087e1370ecdbb3a9670a9ab542e317c00bb7d.tar.gz chromium_src-9f1087e1370ecdbb3a9670a9ab542e317c00bb7d.tar.bz2 |
Clean up extension loading:
* load extensions from prefs rather than by scanning filesystem
* fix multiple loading bug
* in-place upgrade
* split out Init() behavior into individual pieces that can be called by tests
Also:
* add look up of extension by URL
* rename GetExtensionByID -> GetExtensionById
BUG=12399
BUG=14053
TEST=ExtensionServiceTest.*
Review URL: http://codereview.chromium.org/125102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18397 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_page_actions_module.cc')
-rw-r--r-- | chrome/browser/extensions/extension_page_actions_module.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_page_actions_module.cc b/chrome/browser/extensions/extension_page_actions_module.cc index 5b128ea..ffc5aa2 100644 --- a/chrome/browser/extensions/extension_page_actions_module.cc +++ b/chrome/browser/extensions/extension_page_actions_module.cc @@ -50,7 +50,7 @@ bool EnablePageActionFunction::RunImpl() { // Find our extension. Extension* extension = NULL; ExtensionsService* service = profile()->GetExtensionsService(); - extension = service->GetExtensionByID(extension_id()); + extension = service->GetExtensionById(extension_id()); if (!extension) { error_ = ExtensionErrorUtils::FormatErrorMessage(keys::kNoExtensionError, extension_id()); |