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

Side by Side Diff: content/browser/speech/proto/google_streaming_api.proto

Issue 10384153: Adding protobuf headers that will be used by upcoming continuous speech recognition classes (Speech… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed and moved content_protobuf.gypi. Created 8 years, 7 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/speech/proto/speech_proto.gypi » ('j') | content/content.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 syntax = "proto2";
6 option optimize_for = LITE_RUNTIME;
7
8 //option cc_api_version = 2;
9 //option java_api_version = 2;
hans 2012/05/16 10:42:47 should these two commented out lines be here?
Primiano Tucci (use gerrit) 2012/05/16 13:34:19 Done.
10
11 package speech;
12
13 // ==================================================================
14 // Messages sent to client.
hans 2012/05/16 10:42:47 not sure how helpful this comment is?
Primiano Tucci (use gerrit) 2012/05/16 13:34:19 Right.
Primiano Tucci (use gerrit) 2012/05/16 13:34:19 Agree, removed.
15 // ==================================================================
16
17 // All responses must be an extension of this message.
hans 2012/05/16 10:42:47 hmm, but this this seems to be the only response m
Primiano Tucci (use gerrit) 2012/05/16 13:34:19 Agree. removed.
18 message HttpStreamingResult {
19 optional int32 status = 1;
20 // Required. The request_id of the RecognitionRequest that
hans 2012/05/16 10:42:47 if it's required, why is it marked optional?
Primiano Tucci (use gerrit) 2012/05/16 13:34:19 Ha. To be honest either its purpose is not complet
21 // initiated the sequence associated with this response.
22 optional int32 id = 2;
23 repeated HttpStreamingHypothesis hypotheses = 3;
24
25 optional string provisional = 4;
hans 2012/05/16 10:42:47 could we try to comment this file a bit more exten
Primiano Tucci (use gerrit) 2012/05/16 13:34:19 Done.
26 optional string ephemeral = 5;
27
28 optional string upstream_url = 6;
29 optional bool upstream_connected = 7;
30 }
31
32 message HttpStreamingHypothesis {
33 // Hypothesis as text.
34 optional string utterance = 1;
hans 2012/05/16 10:42:47 i like a blank line between fields when they have
Primiano Tucci (use gerrit) 2012/05/16 13:34:19 Done.
35 // Field below is typically provided only for the top hypothesis.
36 // Confidence score associated with this hypothesis.
37 optional float confidence = 2;
38 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/speech/proto/speech_proto.gypi » ('j') | content/content.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698