Use backticks not vertical bars to denote variables in comments for /modules/utility
Bug: webrtc:12338 Change-Id: I8900efa25a5eebcf57ec894108e1212e1d5b8089 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227098 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34675}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
ee3e3fdfb6
commit
bbdecaff89
@ -97,9 +97,9 @@ class JNIEnvironment {
|
||||
explicit JNIEnvironment(JNIEnv* jni);
|
||||
~JNIEnvironment();
|
||||
|
||||
// Registers native methods with the Java class specified by |name|.
|
||||
// Registers native methods with the Java class specified by `name`.
|
||||
// Note that the class name must be one of the names in the static
|
||||
// |loaded_classes| array defined in jvm_android.cc.
|
||||
// `loaded_classes` array defined in jvm_android.cc.
|
||||
// This method must be called on the construction thread.
|
||||
std::unique_ptr<NativeRegistration> RegisterNatives(
|
||||
const char* name,
|
||||
@ -138,7 +138,7 @@ class JNIEnvironment {
|
||||
// obj = reg->NewObject("<init>", ,);
|
||||
// }
|
||||
//
|
||||
// // Each User method can now use |reg| and |obj| and call Java functions
|
||||
// // Each User method can now use `reg` and `obj` and call Java functions
|
||||
// // in WebRtcTest.java, e.g. boolean init() {}.
|
||||
// bool User::Foo() {
|
||||
// jmethodID id = reg->GetMethodId("init", "()Z");
|
||||
@ -168,9 +168,9 @@ class JVM {
|
||||
// called successfully. Use the AttachCurrentThreadIfNeeded class if needed.
|
||||
std::unique_ptr<JNIEnvironment> environment();
|
||||
|
||||
// Returns a JavaClass object given class |name|.
|
||||
// Returns a JavaClass object given class `name`.
|
||||
// Note that the class name must be one of the names in the static
|
||||
// |loaded_classes| array defined in jvm_android.cc.
|
||||
// `loaded_classes` array defined in jvm_android.cc.
|
||||
// This method must be called on the construction thread.
|
||||
JavaClass GetClass(const char* name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user