| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_PROFILE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_PROFILE_HELPER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_PROFILE_HELPER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_PROFILE_HELPER_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 10 | 10 |
| 11 namespace content { | 11 namespace content { |
| 12 class WebUI; | 12 class WebUI; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace webui { | 15 namespace webui { |
| 16 | 16 |
| 17 void OpenNewWindowForProfile(Profile* profile, Profile::CreateStatus status); | 17 void OpenNewWindowForProfile(Profile* profile, Profile::CreateStatus status); |
| 18 | 18 |
| 19 // Deletes the profile at the given |file_path|. | 19 // Deletes the profile at the given |file_path|. |
| 20 void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui); | 20 void DeleteProfileAtPath(base::FilePath file_path, |
| 21 content::WebUI* web_ui, |
| 22 ProfileMetrics::ProfileDelete deletion_source); |
| 21 | 23 |
| 22 } // namespace webui | 24 } // namespace webui |
| 23 | 25 |
| 24 | 26 |
| 25 | 27 |
| 26 #endif // CHROME_BROWSER_UI_WEBUI_PROFILE_HELPER_H_ | 28 #endif // CHROME_BROWSER_UI_WEBUI_PROFILE_HELPER_H_ |
| OLD | NEW |