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

Unified Diff: chrome/browser/extensions/stateful_external_extension_provider.cc

Issue 5535002: Decouple killbit testing from external extension providers (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: update Created 10 years 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
« no previous file with comments | « chrome/browser/extensions/stateful_external_extension_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/stateful_external_extension_provider.cc
diff --git a/chrome/browser/extensions/stateful_external_extension_provider.cc b/chrome/browser/extensions/stateful_external_extension_provider.cc
index 63899da0345835c526534b912f5ea3485aac5c96..d922db83c8639729ac2fde4449b6650928b93f79 100644
--- a/chrome/browser/extensions/stateful_external_extension_provider.cc
+++ b/chrome/browser/extensions/stateful_external_extension_provider.cc
@@ -33,13 +33,10 @@ StatefulExternalExtensionProvider::~StatefulExternalExtensionProvider() {
}
void StatefulExternalExtensionProvider::VisitRegisteredExtension(
- Visitor* visitor, const std::set<std::string>& ids_to_ignore) const {
+ Visitor* visitor) const {
for (DictionaryValue::key_iterator i = prefs_->begin_keys();
i != prefs_->end_keys(); ++i) {
const std::string& extension_id = *i;
- if (ids_to_ignore.find(extension_id) != ids_to_ignore.end())
- continue;
-
DictionaryValue* extension;
if (!prefs_->GetDictionaryWithoutPathExpansion(extension_id, &extension))
continue;
« no previous file with comments | « chrome/browser/extensions/stateful_external_extension_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698