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

Unified Diff: chrome/browser/intents/web_intents_registry.cc

Issue 8733004: Make ExtensionService use ExtensionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: + Created 9 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
Index: chrome/browser/intents/web_intents_registry.cc
diff --git a/chrome/browser/intents/web_intents_registry.cc b/chrome/browser/intents/web_intents_registry.cc
index 4e35219d7a48c727866020caa0d10db634bf7e7e..5a8a567281241afb5e369f66ac4752aa0fb0f028 100644
--- a/chrome/browser/intents/web_intents_registry.cc
+++ b/chrome/browser/intents/web_intents_registry.cc
@@ -81,9 +81,9 @@ void WebIntentsRegistry::OnWebDataServiceRequestDone(
// Loop over all intents in all extensions, collect ones matching the query.
if (extension_service_) {
- const ExtensionList* extensions = extension_service_->extensions();
+ const ExtensionSet* extensions = extension_service_->extensions();
if (extensions) {
- for (ExtensionList::const_iterator i(extensions->begin());
+ for (ExtensionSet::const_iterator i(extensions->begin());
i != extensions->end(); ++i) {
const IntentServiceList& intents((*i)->intents_services());
for (IntentServiceList::const_iterator j(intents.begin());
« no previous file with comments | « chrome/browser/extensions/user_script_listener_unittest.cc ('k') | chrome/browser/intents/web_intents_registry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698