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

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

Issue 384023002: Rename "managed (mode|user)" to "supervised user" (part 6) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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_CREATE_PROFILE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 chrome::HostDesktopType desktop_type, 83 chrome::HostDesktopType desktop_type,
84 const std::string& supervised_user_id, 84 const std::string& supervised_user_id,
85 Profile* profile, 85 Profile* profile,
86 Profile::CreateStatus status); 86 Profile::CreateStatus status);
87 87
88 void HandleProfileCreationSuccess(bool create_shortcut, 88 void HandleProfileCreationSuccess(bool create_shortcut,
89 chrome::HostDesktopType desktop_type, 89 chrome::HostDesktopType desktop_type,
90 const std::string& supervised_user_id, 90 const std::string& supervised_user_id,
91 Profile* profile); 91 Profile* profile);
92 92
93 // After a new supervised-user profile has been created, registers the user 93 // After a new supervised user profile has been created, registers the user
Pam (message me for reviews) 2014/07/11 17:36:21 Actually, the hyphen is correct, since "supervised
Marc Treib 2014/07/14 08:18:15 Huh. Live and learn. I've added it back.
94 // with the management server. 94 // with the management server.
95 void RegisterSupervisedUser(bool create_shortcut, 95 void RegisterSupervisedUser(bool create_shortcut,
96 chrome::HostDesktopType desktop_type, 96 chrome::HostDesktopType desktop_type,
97 const std::string& managed_user_id, 97 const std::string& supervised_user_id,
98 Profile* new_profile); 98 Profile* new_profile);
99 99
100 // Called back with the result of the supervised user registration. 100 // Called back with the result of the supervised user registration.
101 void OnSupervisedUserRegistered(bool create_shortcut, 101 void OnSupervisedUserRegistered(bool create_shortcut,
102 chrome::HostDesktopType desktop_type, 102 chrome::HostDesktopType desktop_type,
103 Profile* profile, 103 Profile* profile,
104 const GoogleServiceAuthError& error); 104 const GoogleServiceAuthError& error);
105 105
106 // Creates desktop shortcut and updates the UI to indicate success 106 // Creates desktop shortcut and updates the UI to indicate success
107 // when creating a profile. 107 // when creating a profile.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 ProfileCreationOperationType profile_creation_type_; 158 ProfileCreationOperationType profile_creation_type_;
159 159
160 base::WeakPtrFactory<CreateProfileHandler> weak_ptr_factory_; 160 base::WeakPtrFactory<CreateProfileHandler> weak_ptr_factory_;
161 161
162 DISALLOW_COPY_AND_ASSIGN(CreateProfileHandler); 162 DISALLOW_COPY_AND_ASSIGN(CreateProfileHandler);
163 }; 163 };
164 164
165 } // namespace options 165 } // namespace options
166 166
167 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_ 167 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698