0
Files
src/tools
Marc Treib e0dc9ebd01 History Sync: Don't upload foreign visits
A syncing client should only ever upload its own visits to the server,
never those coming from other clients.
Generally, foreign visits should never get updated in the history DB
anyway (except through Sync), but it some cases it might happen (e.g.
data migrations/cleanups, or maybe just bugs elsewhere). In that case,
it's better not to upload any such changes, to avoid messing up other
clients.
This CL adds an appropriate check plus a unit test.

Bug: 1395826
Change-Id: I91491de0dc9d75d05534007f5d62a6edca805bff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4083546
Commit-Queue: Marc Treib <treib@chromium.org>
Auto-Submit: Marc Treib <treib@chromium.org>
Reviewed-by: Victor Vianna <victorvianna@google.com>
Commit-Queue: Victor Vianna <victorvianna@google.com>
Cr-Commit-Position: refs/heads/main@{#1080312}
2022-12-07 14:10:01 +00:00
..
2022-10-12 17:52:09 +00:00
2022-12-05 21:20:39 +00:00
2022-11-23 22:36:02 +00:00
2022-12-02 00:39:07 +00:00
2022-11-10 19:01:24 +00:00