Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom

Issue 1457383005: Require an explicit ServiceName annotation for interfaces in Java (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/sharing/interfaces/sharing.mojom ('k') | mojo/services/vsync/interfaces/vsync.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom
diff --git a/mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom b/mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom
index 526b3a6af42e8b5c514bc27b0141bd60babf99d4..903958948979825a8120ffc1d624a9511c38b8ac 100644
--- a/mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom
+++ b/mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom
@@ -33,6 +33,7 @@ union ResultOrError {
// |SpeechRecognizerService| provides access to a speech recognition service.
// It is responsible for reading microphone input, deciding when the user is
// done speaking, and performing speech recognition on the result.
+[ServiceName="speech_recognizer::SpeechRecognizerService"]
interface SpeechRecognizerService {
// Starts listening to the user. When listening has finished or an error
// occurs, returns |result_or_error|. Any call to Listen() made while another
@@ -42,4 +43,4 @@ interface SpeechRecognizerService {
// Stops the SpeechRecognizer from listening and finishes any previous call
// to Listen() causing it to return.
StopListening();
-};
+};
« no previous file with comments | « mojo/services/sharing/interfaces/sharing.mojom ('k') | mojo/services/vsync/interfaces/vsync.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698