Chromium Code Reviews
DescriptionMove impl of identity.GetProfileUserInfo() extension API to its own file
As a precursor to a refactoring of the identity extension API implementation
to use the Identity Service, I am moving the implementations of the six
identity extension API functions to their own files, rather than all
being lumped together in identity_api.*. This will make it easier to
analyze each of these function implementations independently and
incrementally convert them to use the Identity Service.
Of note: This CL makes a minor code change to eliminate usage of the
GetPrimaryAccountId() helper function defined in identity_api.cc.
The new code is functionally equivalent to the old code: both are
effectively AccountTrackerService::GetAccountInfo(
SigninManager::GetAuthenticatedAccountId()), wherein the
AccountTrackerService and SigninManager instances are the ones
corresponding to the Profile in question.
BUG=685654
Review-Url: https://codereview.chromium.org/2663883003
Cr-Commit-Position: refs/heads/master@{#447548}
Committed: https://chromium.googlesource.com/chromium/src/+/06fb5480e59a9ad8f10a733c7e45bec4f4c7bec9
Patch Set 1 #Patch Set 2 : nit #
Depends on Patchset: Messages
Total messages: 12 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||