New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 853088 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

DeviceSyncClientFactory: Provide clients a fully-ready DeviceSyncClient

Project Member Reported by hansberry@chromium.org, Jun 15 2018

Issue description

DeviceSyncClient, when constructed, posts tasks to fetch its remote devices. This means that when clients of DeviceSyncClient first get the object, its GetSyncedDevices() and GetLocalDeviceMetadata() calls return empty. This means clients have to instrument some mechanism to wait for DeviceSyncClient to be ready.

This current state is fine for now and can be worked around easily enough, but in the future, as we serve external clients, it will need to be fixed. This issue is a little tricky because DeviceSyncClientFactory is tied to BrowserContextKeyedService logic, which is synchronous.
 
Triage nag: This Chrome OS bug has an owner but no component. Please add a component so that this can be tracked by the relevant team.
Components: UI>Multidevice

Sign in to add a comment