Commit f5eebe98 authored by Sylvain Defresne's avatar Sylvain Defresne Committed by Commit Bot

Fix code block in "API Shape" section.

Bug: none
Change-Id: Id75500ca8b83d211e2b5c3a786e92f030791aedc
Reviewed-on: https://chromium-review.googlesource.com/726855Reviewed-by: default avatarColin Blundell <blundell@chromium.org>
Commit-Queue: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510027}
parent 0696aeee
...@@ -62,6 +62,7 @@ Below we outline concrete standards that aid in achieving the above goals. ...@@ -62,6 +62,7 @@ Below we outline concrete standards that aid in achieving the above goals.
malevolent) client calling methods on a partially-constructed Foo. To be malevolent) client calling methods on a partially-constructed Foo. To be
concrete: concrete:
````
// NO: Client will have access to partially-constructed Foo. // NO: Client will have access to partially-constructed Foo.
interface Foo { interface Foo {
SetClient(FooClient client); SetClient(FooClient client);
...@@ -73,6 +74,7 @@ Below we outline concrete standards that aid in achieving the above goals. ...@@ -73,6 +74,7 @@ Below we outline concrete standards that aid in achieving the above goals.
GetFoo(Foo& request, FooClient client); GetFoo(Foo& request, FooClient client);
}; };
interface Foo { ... }; interface Foo { ... };
````
* In the absence of specific guidance, strive for consistency with surrounding * In the absence of specific guidance, strive for consistency with surrounding
interfaces and with interfaces in other services. interfaces and with interfaces in other services.
...@@ -105,7 +107,7 @@ The responsibility for holding these standards is shared across ...@@ -105,7 +107,7 @@ The responsibility for holding these standards is shared across
* Individual service OWNERS are responsible for ensuring that their service * Individual service OWNERS are responsible for ensuring that their service
adheres to these standards. adheres to these standards.
* Service developers are responsible for ensuring that their CLs adhere to * Service developers are responsible for ensuring that their CLs adhere to
these standards (and thus making life easier for the OWNERS that must review these standards (and thus making life easier for the OWNERS that must review
these CLs :). these CLs :).
We expect that these standards will evolve over time. If you encounter a tricky We expect that these standards will evolve over time. If you encounter a tricky
......
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