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

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

Issue 10113005: Remove EPM:all_hosts_ and use all_extension_views_ instead. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: interactive_ui_tests Created 8 years, 8 months 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/process_management_browsertest.cc
diff --git a/chrome/browser/extensions/process_management_browsertest.cc b/chrome/browser/extensions/process_management_browsertest.cc
index 6e1318960ca163045b8ee53571a6269d94c4d031..75a4c828d2003001708f455de5f0e5d060d36583 100644
--- a/chrome/browser/extensions/process_management_browsertest.cc
+++ b/chrome/browser/extensions/process_management_browsertest.cc
@@ -215,8 +215,9 @@ IN_PROC_BROWSER_TEST_F(ProcessManagementTest, ExtensionProcessBalancing) {
Profile* profile = browser()->GetProfile();
ExtensionProcessManager* epm = profile->GetExtensionProcessManager();
- for (ExtensionProcessManager::const_iterator iter = epm->begin();
- iter != epm->end();
+ for (ExtensionProcessManager::const_iterator iter =
+ epm->background_hosts().begin();
+ iter != epm->background_hosts().end();
++iter) {
ExtensionHost* host = *iter;
if (host->extension()->has_background_page()) {

Powered by Google App Engine
This is Rietveld 408576698