Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Side by Side Diff: chrome/browser/ui/webui/options/options_handlers_helper.h

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_OPTIONS_OPTIONS_HANDLERS_HELPER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_HANDLERS_HELPER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_HANDLERS_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 options {
17 namespace helper { 17 namespace helper {
18 18
19 // Returns the current desktop type. 19 // Returns the current desktop type.
20 chrome::HostDesktopType GetDesktopType(content::WebUI* web_ui); 20 ui::HostDesktopType GetDesktopType(content::WebUI* web_ui);
21 21
22 void OpenNewWindowForProfile(chrome::HostDesktopType desktop_type, 22 void OpenNewWindowForProfile(ui::HostDesktopType desktop_type,
23 Profile* profile, 23 Profile* profile,
24 Profile::CreateStatus status); 24 Profile::CreateStatus status);
25 25
26 // Deletes the profile at the given |file_path|. 26 // Deletes the profile at the given |file_path|.
27 void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui); 27 void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui);
28 28
29 } // namespace helper 29 } // namespace helper
30 } // namespace options 30 } // namespace options
31 31
32 32
33 33
34 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_HANDLERS_HELPER_H_ 34 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_HANDLERS_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698