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

Unified Diff: chrome/browser/ui/browser_browsertest.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/ui/browser_browsertest.cc
===================================================================
--- chrome/browser/ui/browser_browsertest.cc (revision 113069)
+++ chrome/browser/ui/browser_browsertest.cc (working copy)
@@ -164,12 +164,11 @@
// Returns the app extension aptly named "App Test".
const Extension* GetExtension() {
- const ExtensionSet* extensions =
+ const ExtensionList* extensions =
browser()->profile()->GetExtensionService()->extensions();
- for (ExtensionSet::const_iterator it = extensions->begin();
- it != extensions->end(); ++it) {
- if ((*it)->name() == "App Test")
- return *it;
+ for (size_t i = 0; i < extensions->size(); ++i) {
+ if ((*extensions)[i]->name() == "App Test")
+ return (*extensions)[i];
}
NOTREACHED();
return NULL;
Property changes on: chrome/browser/ui/browser_browsertest.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « chrome/browser/themes/theme_service.cc ('k') | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698