Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / webui / options / options_handlers_helper.h
blob493db5e3ca064fd727366695ce41b403b98f3f3b
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_HANDLERS_HELPER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_HANDLERS_HELPER_H_
8 #include "base/files/file_path.h"
9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/host_desktop.h"
12 namespace content {
13 class WebUI;
16 namespace options {
17 namespace helper {
19 // Returns the current desktop type.
20 chrome::HostDesktopType GetDesktopType(content::WebUI* web_ui);
22 void OpenNewWindowForProfile(chrome::HostDesktopType desktop_type,
23 Profile* profile,
24 Profile::CreateStatus status);
26 // Deletes the profile at the given |file_path|.
27 void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui);
29 } // namespace helper
30 } // namespace options
34 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_HANDLERS_HELPER_H_