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

Side by Side Diff: content/common/speech_recognition_messages.h

Issue 1907973003: media: Move audio_parameters and audio_point to media/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
« no previous file with comments | « content/common/media/media_param_traits.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/shared_memory.h" 11 #include "base/memory/shared_memory.h"
12 #include "base/sync_socket.h" 12 #include "base/sync_socket.h"
13 #include "content/public/common/speech_recognition_error.h" 13 #include "content/public/common/speech_recognition_error.h"
14 #include "content/public/common/speech_recognition_grammar.h" 14 #include "content/public/common/speech_recognition_grammar.h"
15 #include "content/public/common/speech_recognition_result.h" 15 #include "content/public/common/speech_recognition_result.h"
16 #include "ipc/ipc_message_macros.h" 16 #include "ipc/ipc_message_macros.h"
17 #include "ipc/ipc_param_traits.h" 17 #include "ipc/ipc_param_traits.h"
18 #include "media/audio/audio_parameters.h" 18 #include "media/base/audio_parameters.h"
19 #include "ui/gfx/geometry/rect.h" 19 #include "ui/gfx/geometry/rect.h"
20 20
21 #define IPC_MESSAGE_START SpeechRecognitionMsgStart 21 #define IPC_MESSAGE_START SpeechRecognitionMsgStart
22 22
23 IPC_ENUM_TRAITS_MAX_VALUE(content::SpeechAudioErrorDetails, 23 IPC_ENUM_TRAITS_MAX_VALUE(content::SpeechAudioErrorDetails,
24 content::SPEECH_AUDIO_ERROR_DETAILS_LAST) 24 content::SPEECH_AUDIO_ERROR_DETAILS_LAST)
25 IPC_ENUM_TRAITS_MAX_VALUE(content::SpeechRecognitionErrorCode, 25 IPC_ENUM_TRAITS_MAX_VALUE(content::SpeechRecognitionErrorCode,
26 content::SPEECH_RECOGNITION_ERROR_LAST) 26 content::SPEECH_RECOGNITION_ERROR_LAST)
27 27
28 IPC_STRUCT_TRAITS_BEGIN(content::SpeechRecognitionError) 28 IPC_STRUCT_TRAITS_BEGIN(content::SpeechRecognitionError)
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 IPC_MESSAGE_ROUTED1(SpeechRecognitionMsg_AudioEnded, int /* request_id */) 121 IPC_MESSAGE_ROUTED1(SpeechRecognitionMsg_AudioEnded, int /* request_id */)
122 122
123 IPC_MESSAGE_ROUTED1(SpeechRecognitionMsg_Ended, int /* request_id */) 123 IPC_MESSAGE_ROUTED1(SpeechRecognitionMsg_Ended, int /* request_id */)
124 124
125 IPC_MESSAGE_ROUTED4(SpeechRecognitionMsg_AudioReceiverReady, 125 IPC_MESSAGE_ROUTED4(SpeechRecognitionMsg_AudioReceiverReady,
126 int /* request_id */, 126 int /* request_id */,
127 media::AudioParameters /* params */, 127 media::AudioParameters /* params */,
128 base::SharedMemoryHandle /* memory */, 128 base::SharedMemoryHandle /* memory */,
129 base::SyncSocket::TransitDescriptor /* socket */) 129 base::SyncSocket::TransitDescriptor /* socket */)
OLDNEW
« no previous file with comments | « content/common/media/media_param_traits.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698