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

Unified Diff: chrome/browser/policy/schema_registry_service_factory.cc

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/policy/schema_registry_service_factory.cc
diff --git a/chrome/browser/policy/schema_registry_service_factory.cc b/chrome/browser/policy/schema_registry_service_factory.cc
index 5893022867b32df24182a109db78d5f0fa0c418c..9fe0cc69d5f5c2e807622cecc04f27e04f60f67a 100644
--- a/chrome/browser/policy/schema_registry_service_factory.cc
+++ b/chrome/browser/policy/schema_registry_service_factory.cc
@@ -50,7 +50,7 @@ DeviceLocalAccountPolicyBroker* GetBroker(content::BrowserContext* context) {
if (!service)
return NULL;
- return service->GetBrokerForUser(user->email());
+ return service->GetBrokerForUser(user->GetUserID());
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698