| 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..691ddb4855a7c37d6291c3f44c6be20e8a352640 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 HandleLogDeleteUserDialogShown(const base::ListValue* args) {
|
| + 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(&HandleLogDeleteUserDialogShown));
|
| }
|
|
|
| void ManageProfileHandler::Uninitialize() {
|
|
|