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

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl.h

Issue 1113333003: Don't create a new profile when cleaning up stale ephemeral profiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: fix Created 5 years, 7 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/ui/app_list/app_list_service_impl.h
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.h b/chrome/browser/ui/app_list/app_list_service_impl.h
index b21e3a52dcba83062d988d666953b72d3f789a3e..92826fac48b9310580e0be322cceef673fb47d28 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.h
+++ b/chrome/browser/ui/app_list/app_list_service_impl.h
@@ -87,13 +87,7 @@ class AppListServiceImpl : public AppListService,
friend class test::AppListServiceImplTestApi;
static void SendAppListStats();
- // Loads a profile asynchronously and calls OnProfileLoaded() when done.
- void LoadProfileAsync(const base::FilePath& profile_file_path);
-
- // Callback for asynchronous profile load.
- void OnProfileLoaded(int profile_load_sequence_id,
- Profile* profile,
- Profile::CreateStatus status);
+ std::string GetProfileName();
// ProfileInfoCacheObserver overrides:
void OnProfileWillBeRemoved(const base::FilePath& profile_path) override;
« no previous file with comments | « chrome/browser/profiles/profile_manager_unittest.cc ('k') | chrome/browser/ui/app_list/app_list_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698