Chromium Code Reviews| Index: chrome/browser/extensions/extension_devtools_browsertests.cc | 
| diff --git a/chrome/browser/extensions/extension_devtools_browsertests.cc b/chrome/browser/extensions/extension_devtools_browsertests.cc | 
| index a8759f7c57d62cce7b5611d8fd5a59ed3fe47fd8..984ee7eeba814039d4a7c63dec5916c147b17a51 100644 | 
| --- a/chrome/browser/extensions/extension_devtools_browsertests.cc | 
| +++ b/chrome/browser/extensions/extension_devtools_browsertests.cc | 
| @@ -36,8 +36,10 @@ static ExtensionHost* FindHostWithPath(ExtensionProcessManager* manager, | 
| int expected_hosts) { | 
| ExtensionHost* host = NULL; | 
| int num_hosts = 0; | 
| - for (ExtensionProcessManager::const_iterator iter = manager->begin(); | 
| - iter != manager->end(); ++iter) { | 
| + ExtensionProcessManager::ExtensionHostSet background_hosts = | 
| 
 
Aaron Boodman
2012/04/20 06:34:56
This doesn't do the same thing, but I guess all th
 
benwells
2012/04/23 05:00:26
Renamed to be clear its background pages.
 
 | 
| + manager->background_hosts(); | 
| + for (ExtensionProcessManager::const_iterator iter = background_hosts.begin(); | 
| + iter != background_hosts.end(); ++iter) { | 
| if ((*iter)->GetURL().path() == path) { | 
| EXPECT_FALSE(host); | 
| host = *iter; |