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

Unified Diff: chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc

Issue 2729503007: Remove Profile usage from //apps (Closed)
Patch Set: deps Created 3 years, 9 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/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
diff --git a/chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc b/chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
index 2edbd379a8539128ee5e291e10c81a484e7f5c1b..4a458091dbfab43d89a8df9285e66647cb15e869 100644
--- a/chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
+++ b/chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
@@ -37,7 +37,7 @@ void AppShimHostManagerTestApi::SetExtensionAppShimHandler(
// profile destruction.
for (Profile* profile :
g_browser_process->profile_manager()->GetLoadedProfiles()) {
- apps::AppLifetimeMonitorFactory::GetForProfile(profile)
+ apps::AppLifetimeMonitorFactory::GetForBrowserContext(profile)
->RemoveObserver(handler.get());
}
}

Powered by Google App Engine
This is Rietveld 408576698