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

Unified Diff: chrome/browser/supervised_user/supervised_user_service.h

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/supervised_user/supervised_user_service.h
diff --git a/chrome/browser/supervised_user/supervised_user_service.h b/chrome/browser/supervised_user/supervised_user_service.h
index 1f10b59b7b43b18cfaec5861fafc12e45badc39a..1f39af896923293453b39292c06bbd27b2e4d01d 100644
--- a/chrome/browser/supervised_user/supervised_user_service.h
+++ b/chrome/browser/supervised_user/supervised_user_service.h
@@ -58,6 +58,10 @@ namespace user_prefs {
class PrefRegistrySyncable;
}
+namespace user_manager {
+class UserID;
+}
+
// This class handles all the information related to a given supervised profile
// (e.g. the installed content packs, the default URL filtering behavior, or
// manual whitelist/blacklist overrides).
@@ -144,7 +148,7 @@ class SupervisedUserService : public KeyedService,
void RegisterAndInitSync(
SupervisedUserRegistrationUtility* registration_utility,
Profile* custodian_profile,
- const std::string& supervised_user_id,
+ const user_manager::UserID& supervised_user_id,
const AuthErrorCallback& callback);
void AddNavigationBlockedCallback(const NavigationBlockedCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698