commit | 0b50ec623d6479c54015992e985af4f3a5fad0e9 | [log] [tgz] |
---|---|---|
author | Alexey Baskakov <[email protected]> | Tue Oct 01 03:29:23 2019 |
committer | Commit Bot <[email protected]> | Tue Oct 01 03:29:23 2019 |
tree | cc55117874bb808c921b03e663e9606bffcee276 | |
parent | 1015924d4b0844ee661f9f1cf9caf258a2ca82ba [diff] |
WebApp: Implement initialization for WebAppSyncBridge. This code is disabled by default behind kDesktopPWAsWithoutExtensions base feature. - Implement WebAppSyncBridge::GetClientTag and GetStorageKey to infer them from launch_url. On Init, pass sync metadata from WebAppDatabase to WebAppSyncBridge's change_processor. Read WebAppRegistrar apps data to implement WebAppSyncBridge::GetData (GetData is the sync "view" for our model data). Unit tests and browser tests will be added later in a follow up CL. An MVP implementation of the bridge needed first. This CL follows "Implementing ModelTypeSyncBridge: Initialization" section described here: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/sync/model_api.md#Initialization In next CLs: Implement: MergeSyncData, ApplySyncChanges, "Local changes" sections. Sync-initiated installs/uninstalls will be an interesting case. Bug: 860583 Change-Id: If8c6e78e48031f4caf9eb39ef68f9de65ec65c6a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1797824 Reviewed-by: Alan Cutter <[email protected]> Reviewed-by: Marc Treib <[email protected]> Commit-Queue: Alexey Baskakov <[email protected]> Cr-Commit-Position: refs/heads/master@{#701420}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .