commit | 9a7870fb6523c12fd589a853f3f4d43cda6d6e39 | [log] [tgz] |
---|---|---|
author | Nancy Wang <nancylingwang@chromium.org> | Tue Mar 15 10:39:34 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 15 10:39:34 2022 |
tree | 030122da68cf4b23d0ad3c338db880340323ddfe | |
parent | eba3fdb9061947bd403831ff174f8f4ad28a790b [diff] |
Add the IntentMatchesCondition function for non mojom intent struct. This CL is used to prepare for CL:3509337. Add the condition match function for the non mojom intent struct: 1. Add IntentFile::MatchConditionValue to implement FileMatchesConditionValue for the non mojom IntentFile struct: https://source.chromium.org/chromium/chromium/src/+/main:components/services/app_service/public/cpp/intent_util.cc;l=216 2. Add IntentFile::MatchAnyConditionValue to implement FileMatchesAnyConditionValue the non mojom IntentFile struct: https://source.chromium.org/chromium/chromium/src/+/main:components/services/app_service/public/cpp/intent_util.cc;l=240 3. Add Intent::GetIntentConditionValueByType to implement GetIntentConditionValueByType for the non mojom Intent struct: https://source.chromium.org/chromium/chromium/src/+/main:components/services/app_service/public/cpp/intent_util.cc;l=48 4. Add Intent::MatchFileCondition to implement IntentMatchesFileCondition for the non mojom Intent struct: https://source.chromium.org/chromium/chromium/src/+/main:components/services/app_service/public/cpp/intent_util.cc;l=250 5. Add Intent::MatchCondition to implement IntentMatchesCondition for the non mojom Intent struct: https://source.chromium.org/chromium/chromium/src/+/main:components/services/app_service/public/cpp/intent_util.cc;l=265 Similar as the mojom IntentMatchesCondition, add unit tests for the new intent match condition function. BUG=1253250 Change-Id: Iedda72a5b591caf9e01470076c997db8aaa3328b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3521296 Reviewed-by: Dominick Ng <dominickn@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/main@{#981043}
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.