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

Unified Diff: chrome/browser/ui/webui/options/create_profile_handler.h

Issue 1686833003: Remove HostDesktopType from profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-16
Patch Set: desktop linux and mac Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/create_profile_handler.h
diff --git a/chrome/browser/ui/webui/options/create_profile_handler.h b/chrome/browser/ui/webui/options/create_profile_handler.h
index cb017faf97160a6375c7d6cf60805cb1a67f31ae..dafcd91bb90b054fa966c147075cfab65636e70f 100644
--- a/chrome/browser/ui/webui/options/create_profile_handler.h
+++ b/chrome/browser/ui/webui/options/create_profile_handler.h
@@ -10,7 +10,6 @@
#include "base/time/time.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_window.h"
-#include "chrome/browser/ui/host_desktop.h"
#include "chrome/browser/ui/webui/options/options_ui.h"
#include "google_apis/gaia/google_service_auth_error.h"
@@ -75,21 +74,17 @@ class CreateProfileHandler: public OptionsPageUIHandler {
// then proceed with the registration step. Otherwise, update the UI
// as the final task after a new profile has been created.
void OnProfileCreated(bool create_shortcut,
- chrome::HostDesktopType desktop_type,
const std::string& supervised_user_id,
Profile* profile,
Profile::CreateStatus status);
void HandleProfileCreationSuccess(bool create_shortcut,
- chrome::HostDesktopType desktop_type,
const std::string& supervised_user_id,
Profile* profile);
// Creates desktop shortcut and updates the UI to indicate success
// when creating a profile.
- void CreateShortcutAndShowSuccess(bool create_shortcut,
- chrome::HostDesktopType desktop_type,
- Profile* profile);
+ void CreateShortcutAndShowSuccess(bool create_shortcut, Profile* profile);
// Updates the UI to show an error when creating a profile.
void ShowProfileCreationError(Profile* profile, const base::string16& error);
@@ -143,13 +138,11 @@ class CreateProfileHandler: public OptionsPageUIHandler {
// After a new supervised-user profile has been created, registers the user
// with the management server.
void RegisterSupervisedUser(bool create_shortcut,
- chrome::HostDesktopType desktop_type,
const std::string& managed_user_id,
Profile* new_profile);
// Called back with the result of the supervised user registration.
void OnSupervisedUserRegistered(bool create_shortcut,
- chrome::HostDesktopType desktop_type,
Profile* profile,
const GoogleServiceAuthError& error);
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/browser/ui/webui/options/create_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698