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

Unified Diff: chrome/browser/ui/webui/profile_helper.h

Issue 1869473002: Fixed crash on double profile delete operation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DeleteProfileAtPath use MaybeScheduleProfileForDeletion Created 4 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/webui/profile_helper.h
diff --git a/chrome/browser/ui/webui/profile_helper.h b/chrome/browser/ui/webui/profile_helper.h
index a115f13c3acdafab5ebac1d613ee44950033e9c6..83d20c73ac33541def8c1d5ff865f8658974d6e9 100644
--- a/chrome/browser/ui/webui/profile_helper.h
+++ b/chrome/browser/ui/webui/profile_helper.h
@@ -17,7 +17,9 @@ namespace webui {
void OpenNewWindowForProfile(Profile* profile, Profile::CreateStatus status);
// Deletes the profile at the given |file_path|.
-void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui);
+void DeleteProfileAtPath(base::FilePath file_path,
+ content::WebUI* web_ui,
+ ProfileMetrics::ProfileDelete user);
} // namespace webui

Powered by Google App Engine
This is Rietveld 408576698