Commit 38321d08 authored by Oksana Zhuravlova's avatar Oksana Zhuravlova Committed by Commit Bot

Update mojo.common.mojom.Value to mojo_base.mojom.Value in mojo.md

Bug: 799482
Change-Id: I925b822f11ac2464ef25cfb77175e9beeb3fa57b
Reviewed-on: https://chromium-review.googlesource.com/1033925
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#554569}
parent 1ce8e07c
......@@ -372,7 +372,7 @@ enforce that the input data is valid. Common ones to watch out for:
* Files: use `mojo_base.mojom.File`, not raw descriptor types like `HANDLE`
and `int`.
* File paths: use `mojo_base.mojom.FilePath`, not `string`.
* JSON: use `mojo.common.mojom.Value`, not `string`.
* JSON: use `mojo_base.mojom.Value`, not `string`.
* Mojo interfaces: use `Interface` or `Interface&`, not `handle` or
`handle<message_pipe>`.
* Nonces: use `mojo_base.mojom.UnguessableToken`, not `string`.
......@@ -398,7 +398,7 @@ interface ReportingService {
```c++
interface ReportingService {
// Bad: unclear what units |time| is or what |data| contains.
ReportDeprecation(double time, mojo.common.mojom.Value data);
ReportDeprecation(double time, mojo_base.mojom.Value data);
};
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment