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

Side by Side Diff: content/public/browser/speech_recognition_session_context.cc

Issue 636863003: Make SpeechRecognition per RenderFrame instead of per RenderView. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes threading issues Created 6 years 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
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 #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_process_id(0),
13 render_view_id(0), 13 render_frame_id(MSG_ROUTING_NONE),
14 render_frame_id(0), 14 guest_render_frame_id(MSG_ROUTING_NONE),
15 guest_render_view_id(MSG_ROUTING_NONE),
16 embedder_render_process_id(0), 15 embedder_render_process_id(0),
17 embedder_render_view_id(MSG_ROUTING_NONE), 16 embedder_render_frame_id(MSG_ROUTING_NONE),
18 request_id(0) { 17 request_id(0) {
19 } 18 }
20 19
21 SpeechRecognitionSessionContext::~SpeechRecognitionSessionContext() { 20 SpeechRecognitionSessionContext::~SpeechRecognitionSessionContext() {
22 } 21 }
23 22
24 } // namespace content 23 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698