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

Unified Diff: chrome/browser/extensions/extension_system_impl.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/extensions/extension_system_impl.cc
diff --git a/chrome/browser/extensions/extension_system_impl.cc b/chrome/browser/extensions/extension_system_impl.cc
index 17930a55c042905a49a976d290f1a2ed2cdca0ae..ddaf85214ebd97e6b17fb672e8e6977095387042 100644
--- a/chrome/browser/extensions/extension_system_impl.cc
+++ b/chrome/browser/extensions/extension_system_impl.cc
@@ -335,8 +335,8 @@ void ExtensionSystemImpl::Shared::Observe(
const content::NotificationSource& source,
const content::NotificationDetails& details) {
DCHECK_EQ(chrome::NOTIFICATION_APP_TERMINATING, type);
- CHECK(apps::AppRestoreServiceFactory::GetForProfile(profile_));
- apps::AppRestoreServiceFactory::GetForProfile(profile_)
+ CHECK(apps::AppRestoreServiceFactory::GetForBrowserContext(profile_));
+ apps::AppRestoreServiceFactory::GetForBrowserContext(profile_)
->OnApplicationTerminating();
}
« no previous file with comments | « chrome/browser/chromeos/note_taking_helper_unittest.cc ('k') | chrome/browser/signin/easy_unlock_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698