Chromium Code Reviews
DescriptionCorrect ChildAccountService child flag retrieval
This CL fixes two bugs in ChildAccountService's child flag retrieval:
* When flag fetching is disabled by command-line flag, causing all
accounts to be marked as non-child, the flag status should be set
to "known," not "unknown."
* When the flag is retrieved from the cloud, it should be stored
before notifying callbacks waiting for the retrieval to finish.
This CL is a prerequisite for the test in crbug.com/477145.
BUG=477145
TEST=Tested as part of the new browser test in follow-up CL
Committed: https://crrev.com/fa8233aa24f47afdac436ad7340ef14a31263413
Cr-Commit-Position: refs/heads/master@{#326058}
Patch Set 1 #Patch Set 2 : Add const. #Messages
Total messages: 12 (4 generated)
|