Update obsolete class name in "Mojo and Services" documentation.
Update the docs to reference the correct class name (content::ServiceProcessHost::Options) instead of LaunchOptions for building a ServiceProcessHost. See: https://source.chromium.org/chromium/chromium/src/+/main:content/public/browser/service_process_host.h;l=115;drc=e7a1f6c9a24f3151c875598174a05167fb12c5d5 Change-Id: Iadb09a1606afa97a0d9be78ac6afe36d589cda67 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3514477 Auto-Submit: Mateus Azis <azis@google.com> Reviewed-by: Ken Rockot <rockot@google.com> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/main@{#979557}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
63ff8035c7
commit
0c2ebb40b1
@ -395,7 +395,7 @@ API:
|
||||
``` cpp
|
||||
mojo::Remote<math::mojom::MathService> math_service =
|
||||
content::ServiceProcessHost::Launch<math::mojom::MathService>(
|
||||
content::ServiceProcessHost::LaunchOptions()
|
||||
content::ServiceProcessHost::Options()
|
||||
.WithDisplayName("Math!")
|
||||
.Pass());
|
||||
```
|
||||
|
Reference in New Issue
Block a user