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

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

Issue 8789018: Revert 113047 - 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/extensions/extension_webrequest_api.cc
===================================================================
--- chrome/browser/extensions/extension_webrequest_api.cc (revision 113069)
+++ chrome/browser/extensions/extension_webrequest_api.cc (working copy)
@@ -1697,9 +1697,9 @@
bool adblock = false;
bool adblock_plus = false;
bool other = false;
- const ExtensionSet* extensions =
+ const ExtensionList* extensions =
profile->GetExtensionService()->extensions();
- for (ExtensionSet::const_iterator it = extensions->begin();
+ for (ExtensionList::const_iterator it = extensions->begin();
it != extensions->end(); ++it) {
if (profile->GetExtensionService()->HasUsedWebRequest(*it)) {
if ((*it)->name().find("Adblock Plus") != std::string::npos) {
Property changes on: chrome/browser/extensions/extension_webrequest_api.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « chrome/browser/extensions/extension_updater_unittest.cc ('k') | chrome/browser/extensions/installed_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698