0
Go to file
Wei-Luan Wang c7486cfec9 [Telemetry] Introduce the unified onRoutineFinished extension event
In the past, callers of the telemetry extension routine v2 APIs had to
listen to one event for each type of routine. For example, there were
`onMemoryRoutineFinished` and `onVolumeButtonRoutineFinished` events. It
was a pain for extension developers to integrate so many event APIs.

This change unifies all routine finished events into one
`onRoutineFinished` event. Clients can thus listen to only one event,
read the `uuid` to learn which particular routine the event corresponds
to and get the detail of a finished routine.

To achieve this, we translate Mojo unions into dictionaries containing
nullable fields, each field corresponds to a member type of the union.

Bug: b:320394027, b:331540565
Test: unit_tests -ozone-platform=headless --gtest_filter="*Diagnostics*"
Test: browser_tests -ozone-platform=headless --gtest_filter="*Telemetry*"
Change-Id: Ia518c469dd33b485fbec2d1d6725eb2e9ab86aac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5391170
Commit-Queue: Wei-Luan Wang <weiluanwang@google.com>
Reviewed-by: Ethan Cheng <yycheng@google.com>
Reviewed-by: Kelvin Jiang <kelvinjiang@chromium.org>
Reviewed-by: Denny Huang <dennyh@google.com>
Reviewed-by: Tim <tjudkins@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1280067}
2024-03-29 04:08:44 +00:00
2024-03-29 02:26:17 +00:00
2024-03-29 01:19:02 +00:00
2024-03-29 02:26:17 +00:00
2024-03-28 22:19:03 +00:00
2024-03-29 03:01:39 +00:00

Logo Chromium

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.

Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Readme BSD-3-Clause 89 GiB
Languages
C++ 74.4%
Java 8.2%
Objective-C++ 4.6%
TypeScript 4%
Python 2.5%
Other 6.1%