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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_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
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_regular.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
index 8aa3de6c5c72b52f38528fcc958fb0d43bad7a7e..f981bf47dc6759158347d69e396dd4f86ccd3ad1 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -982,7 +982,7 @@ bool StartupBrowserCreatorImpl::ProcessStartupURLs(
VLOG(1) << "Pref: default";
apps::AppRestoreService* restore_service =
- apps::AppRestoreServiceFactory::GetForProfile(profile_);
+ apps::AppRestoreServiceFactory::GetForBrowserContext(profile_);
// NULL in incognito mode.
if (restore_service) {
restore_service->HandleStartup(apps::AppRestoreService::ShouldRestoreApps(
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_regular.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698