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

Unified Diff: chrome/browser/managed_mode/managed_user_service.h

Issue 15774008: Pass errors generated during limited-user registration up to the UI for display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Addressed Drew's comments 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/managed_mode/managed_user_service.h
===================================================================
--- chrome/browser/managed_mode/managed_user_service.h (revision 203598)
+++ chrome/browser/managed_mode/managed_user_service.h (working copy)
@@ -13,6 +13,7 @@
#include "base/string16.h"
#include "chrome/browser/extensions/management_policy.h"
#include "chrome/browser/managed_mode/managed_mode_url_filter.h"
+#include "chrome/browser/profiles/profile_manager.h"
#include "components/browser_context_keyed_service/browser_context_keyed_service.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -121,7 +122,8 @@
// Note that |registration_service| should belong to the custodian's profile,
// not this one.
void RegisterAndInitSync(
- ManagedUserRegistrationService* registration_service);
+ ManagedUserRegistrationService* registration_service,
+ const ProfileManager::CreateCallback& callback);
// Returns a pseudo-email address for systems that expect well-formed email
// addresses (like Sync), even though we're not signed in.
@@ -176,7 +178,8 @@
DISALLOW_COPY_AND_ASSIGN(URLFilterContext);
};
- void OnManagedUserRegistered(const GoogleServiceAuthError& auth_error,
+ void OnManagedUserRegistered(const ProfileManager::CreateCallback& callback,
+ const GoogleServiceAuthError& auth_error,
const std::string& token);
// Internal implementation for ExtensionManagementPolicy::Delegate methods.
« 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