OLD | NEW |
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 #include "content/public/browser/speech_recognition_session_context.h" | 5 #include "content/public/browser/speech_recognition_session_context.h" |
6 | 6 |
7 #include "ipc/ipc_message.h" | 7 #include "ipc/ipc_message.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
11 SpeechRecognitionSessionContext::SpeechRecognitionSessionContext() | 11 SpeechRecognitionSessionContext::SpeechRecognitionSessionContext() |
12 : render_process_id(0), | 12 : render_frame_host(nullptr), |
13 render_view_id(0), | 13 guest_render_frame_id(MSG_ROUTING_NONE), |
14 render_frame_id(0), | |
15 guest_render_view_id(MSG_ROUTING_NONE), | |
16 embedder_render_process_id(0), | 14 embedder_render_process_id(0), |
17 embedder_render_view_id(MSG_ROUTING_NONE), | 15 embedder_render_frame_id(MSG_ROUTING_NONE), |
18 request_id(0) { | 16 request_id(0) { |
19 } | 17 } |
20 | 18 |
21 SpeechRecognitionSessionContext::~SpeechRecognitionSessionContext() { | 19 SpeechRecognitionSessionContext::~SpeechRecognitionSessionContext() { |
22 } | 20 } |
23 | 21 |
24 } // namespace content | 22 } // namespace content |
OLD | NEW |