Index: chrome/browser/ui/webui/options/manage_profile_handler.cc |
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
index c3424c9d8bf65b6ecff7bf4b0314d6ae0245bc00..05941604f27f8f762af0f18e2385b1f6e70d87f7 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
@@ -64,6 +64,11 @@ bool GetProfilePathFromArgs(const base::ListValue* args, |
return base::GetValueAsFilePath(*file_path_value, profile_file_path); |
} |
+void HandleDeleteUserDialogShown(const base::ListValue* args) { |
Dan Beam
2015/03/19 17:28:39
nit: HandleLogDeleteUserDialogShown
|
+ ProfileMetrics::LogProfileDeleteUser( |
+ ProfileMetrics::DELETE_PROFILE_SETTINGS_SHOW_WARNING); |
+} |
+ |
} // namespace |
ManageProfileHandler::ManageProfileHandler() |
@@ -185,6 +190,8 @@ void ManageProfileHandler::RegisterMessages() { |
"showDisconnectManagedProfileDialog", |
base::Bind(&ManageProfileHandler::ShowDisconnectManagedProfileDialog, |
base::Unretained(this))); |
+ web_ui()->RegisterMessageCallback("logDeleteUserDialogShown", |
+ base::Bind(&HandleDeleteUserDialogShown)); |
} |
void ManageProfileHandler::Uninitialize() { |