diff options
author | gfeher@chromium.org <gfeher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-06 16:25:57 +0000 |
---|---|---|
committer | gfeher@chromium.org <gfeher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-06 16:25:57 +0000 |
commit | 683d07050fe4c6f7e52c822d21cb8e4110f9ffc5 (patch) | |
tree | 43b50fcb7801fb86ff140ec0635bece38db6bce5 /chrome/browser/extensions/external_extension_provider.h | |
parent | 0a04cc95609cdec4c352bb016cbdab9c24326684 (diff) | |
download | chromium_src-683d07050fe4c6f7e52c822d21cb8e4110f9ffc5.zip chromium_src-683d07050fe4c6f7e52c822d21cb8e4110f9ffc5.tar.gz chromium_src-683d07050fe4c6f7e52c822d21cb8e4110f9ffc5.tar.bz2 |
Decouple killbit testing from external extension providers
Don't test the killbit in each ExternalExtensionProvider, but test it in ExternalExtensionsService.
BUG=65107
TEST=ExtensionManagementTest.ExternalUpdate
Review URL: http://codereview.chromium.org/5535002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/external_extension_provider.h')
-rw-r--r-- | chrome/browser/extensions/external_extension_provider.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/extensions/external_extension_provider.h b/chrome/browser/extensions/external_extension_provider.h index 1d040bd..5bcce1d5 100644 --- a/chrome/browser/extensions/external_extension_provider.h +++ b/chrome/browser/extensions/external_extension_provider.h @@ -6,9 +6,6 @@ #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_H_ #pragma once -#include <set> -#include <string> - #include "chrome/common/extensions/extension.h" class FilePath; @@ -44,8 +41,7 @@ class ExternalExtensionProvider { // Enumerate registered extension, calling OnExternalExtensionFound on // the |visitor| object for each registered extension found. |ids_to_ignore| // contains a list of extension ids that should not result in a call back. - virtual void VisitRegisteredExtension( - Visitor* visitor, const std::set<std::string>& ids_to_ignore) const = 0; + virtual void VisitRegisteredExtension(Visitor* visitor) const = 0; // Test if this provider has an extension with id |id| registered. virtual bool HasExtension(const std::string& id) const = 0; |