commit | 9b9b88b68329a3b337fa458a5c96894b7c48513b | [log] [tgz] |
---|---|---|
author | Rushan Suleymanov <[email protected]> | Fri Jan 20 13:40:45 2023 |
committer | Chromium LUCI CQ <[email protected]> | Fri Jan 20 13:40:45 2023 |
tree | a55027b170269085fe6dc97b74abce5d3176935f | |
parent | 40a9e48d62b1618c996e06737fe84ebd9e5bd972 [diff] |
[Sync] Use GCMDriver to deliver invalidations in tests This CL uses GCMDriver directly to simulate sending sync invalidations from the server. FakeGCMDriver also allows now to wait for specific GCMAppHandler to be added before connection (in real scenario GCMClient starts when the first AppHandler is added). Note that Android has a different implementation and does not check for actual token to match. This should work since Android tests don't support multiple clients yet. Bug: 1331206 Change-Id: I0dba63cdae469cb7047f076df1fd1a4d78153977 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4150488 Reviewed-by: Marc Treib <[email protected]> Commit-Queue: Rushan Suleymanov <[email protected]> Cr-Commit-Position: refs/heads/main@{#1095004}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.