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

Side by Side Diff: chrome/browser/managed_mode/managed_user_service.h

Issue 16950018: Collect the custodian's full name when a supervised user is created. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove stray blank line Created 7 years, 6 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_MANAGED_MODE_MANAGED_USER_SERVICE_H_ 5 #ifndef CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_
6 #define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ 6 #define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // network requests), so they both keep a reference to it. 181 // network requests), so they both keep a reference to it.
182 // Clients should not keep references to the UI thread filter, however 182 // Clients should not keep references to the UI thread filter, however
183 // (the filter will live as long as the profile lives, and afterwards it 183 // (the filter will live as long as the profile lives, and afterwards it
184 // should not be used anymore either). 184 // should not be used anymore either).
185 scoped_refptr<ManagedModeURLFilter> ui_url_filter_; 185 scoped_refptr<ManagedModeURLFilter> ui_url_filter_;
186 scoped_refptr<ManagedModeURLFilter> io_url_filter_; 186 scoped_refptr<ManagedModeURLFilter> io_url_filter_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(URLFilterContext); 188 DISALLOW_COPY_AND_ASSIGN(URLFilterContext);
189 }; 189 };
190 190
191 void OnCustodianProfileDownloaded(const string16& full_name);
192
191 void OnManagedUserRegistered(const ProfileManager::CreateCallback& callback, 193 void OnManagedUserRegistered(const ProfileManager::CreateCallback& callback,
192 Profile* custodian_profile, 194 Profile* custodian_profile,
193 const GoogleServiceAuthError& auth_error, 195 const GoogleServiceAuthError& auth_error,
194 const std::string& token); 196 const std::string& token);
195 197
196 void SetupSync(); 198 void SetupSync();
197 199
198 // Internal implementation for ExtensionManagementPolicy::Delegate methods. 200 // Internal implementation for ExtensionManagementPolicy::Delegate methods.
199 // If |error| is not NULL, it will be filled with an error message if the 201 // If |error| is not NULL, it will be filled with an error message if the
200 // requested extension action (install, modify status, etc.) is not permitted. 202 // requested extension action (install, modify status, etc.) is not permitted.
(...skipping 29 matching lines...) Expand all
230 // True iff we're waiting for the Sync service to be initialized. 232 // True iff we're waiting for the Sync service to be initialized.
231 bool waiting_for_sync_initialization_; 233 bool waiting_for_sync_initialization_;
232 234
233 // Sets a profile in elevated state for testing if set to true. 235 // Sets a profile in elevated state for testing if set to true.
234 bool elevated_for_testing_; 236 bool elevated_for_testing_;
235 237
236 URLFilterContext url_filter_context_; 238 URLFilterContext url_filter_context_;
237 }; 239 };
238 240
239 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ 241 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/managed_mode/managed_user_registration_service.cc ('k') | chrome/browser/managed_mode/managed_user_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698