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_OPTIONS_OPTIONS_HANDLERS_HELPER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_PROFILE_HELPER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_HANDLERS_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 #include "chrome/browser/ui/host_desktop.h" | 10 #include "chrome/browser/ui/host_desktop.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 class WebUI; | 13 class WebUI; |
14 } | 14 } |
15 | 15 |
16 namespace options { | 16 namespace webui { |
17 namespace helper { | |
18 | 17 |
19 void OpenNewWindowForProfile(Profile* profile, Profile::CreateStatus status); | 18 void OpenNewWindowForProfile(Profile* profile, Profile::CreateStatus status); |
20 | 19 |
21 // Deletes the profile at the given |file_path|. | 20 // Deletes the profile at the given |file_path|. |
22 void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui); | 21 void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui); |
23 | 22 |
24 } // namespace helper | 23 } // namespace webui |
25 } // namespace options | |
26 | 24 |
27 | 25 |
28 | 26 |
29 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_HANDLERS_HELPER_H_ | 27 #endif // CHROME_BROWSER_UI_WEBUI_PROFILE_HELPER_H_ |
OLD | NEW |