commit | a5c24e17ea29c7bc442b8fc6490d1be9504bb958 | [log] [tgz] |
---|---|---|
author | Eric Seckler <eseckler@chromium.org> | Wed Nov 28 16:09:20 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 28 16:09:20 2018 |
tree | abccff40a0053699d0a82b842683740d4c8b58c0 | |
parent | aabacf9ed204501b1766a505753a3a6a41ce503c [diff] |
network error: Save easter egg highscore to profile Save the dino game highscore into a preference in the user's profile. The highscore will persist across sessions and sync across devices. Adds a mojo interface that allows setting the highscore preference from the renderer. NetErrorPageController / NetErrorHelper expose new functionality to provide the saved score to the error page and update the saved score when a new highscore is reached. Also ensures that the maximum high score is chosen on sync conflicts by extending PrefModelAssociatorClient to allow the embedder to choose the merging strategy for conflicting preference values. TBR=sdefresne@chromium.org Bug: 568093 Change-Id: Ia6485cbbf03ea210cba11dd3bd5f8be2518997d7 Reviewed-on: https://chromium-review.googlesource.com/c/1347283 Reviewed-by: Eric Seckler <eseckler@chromium.org> Reviewed-by: Edward Jung <edwardjung@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Dominic Battré <battre@chromium.org> Commit-Queue: Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#611711}
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 .