roll: pigweed pw_tokenizer: Expose API to define new token entry

- Expose pw_tokenizer API for recording the token,
domain, and string directly.
- Enums won’t be hashed (use the enum
name as the string and the enum value as the token).

Fixes: b/369881416
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/238272
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: e26be58d6db0215e6a762a5a28ad74584e9a0482

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 30dcf2b202c792..e26be58d6db021
Roller-URL: https://ci.chromium.org/b/8735630142472984785
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Ie4a0d89dc023ac1b045bf8e888eacb8cb82fd189
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/238456
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
1 file changed
tree: bb37baddce44910495cfef2bee236fb5fae93d69
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .buildifier.json
  14. .clang-format
  15. .clangd.shared
  16. .gitignore
  17. .pw_console.yaml
  18. AUTHORS
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. OWNERS
  25. pigweed.json
  26. README.md
README.md

Sense

git clone https://pigweed.googlesource.com/pigweed/showcase/sense

Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.

Please visit Sense: An interactive tour through Pigweed to get started.