| commit | 3873be17292e884090dee645bd2a96ddcd890ef5 | [log] [tgz] |
|---|---|---|
| author | Curt Clemens <cclem@google.com> | Thu Sep 07 16:34:22 2023 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 07 16:34:22 2023 |
| tree | 220f60293099eb647f9cbb81d198f3960daae349 | |
| parent | 87274e8dee682d55c95221f0560f493384215271 [diff] |
[QuickStart] Move NotifySourceOfUpdateResponse into its own Mojo type
The DecodeNotifySourceOfUpdate return type is currently just a boolean.
This is inconvenient since I'm planning to combine all of the messages
into a tagged union (i.e. "union QuickStartMessage {...}"), so untagged
messages will prevent dispatching on the message type. This CL wraps
the return value in a new NotifySourceOfUpdateResponse type, which also
has the benefit of making the signatures more consistent.
Bug: b/294253611
Test: Existing tests provide coverage
Change-Id: I6247bd25fea8169c392b5de4211ea79bad59fa6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4827650
Commit-Queue: Curt Clemens <cclem@google.com>
Reviewed-by: Michael Hansen <hansenmichael@google.com>
Reviewed-by: Brittany Hartmire <bhartmire@google.com>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1193629}
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.