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

Side by Side Diff: content/browser/speech/speech_recognizer_impl_android.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/speech/speech_recognizer_impl_android.h" 5 #include "content/browser/speech/speech_recognizer_impl_android.h"
6 6
7 #include "base/android/context_utils.h"
7 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 9 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
10 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
13 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/speech_recognition_event_listener.h" 15 #include "content/public/browser/speech_recognition_event_listener.h"
15 #include "content/public/browser/speech_recognition_manager.h" 16 #include "content/public/browser/speech_recognition_manager.h"
16 #include "content/public/browser/speech_recognition_session_config.h" 17 #include "content/public/browser/speech_recognition_session_config.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 state_ = STATE_IDLE; 200 state_ = STATE_IDLE;
200 listener()->OnRecognitionEnd(session_id()); 201 listener()->OnRecognitionEnd(session_id());
201 } 202 }
202 203
203 // static 204 // static
204 bool SpeechRecognizerImplAndroid::RegisterSpeechRecognizer(JNIEnv* env) { 205 bool SpeechRecognizerImplAndroid::RegisterSpeechRecognizer(JNIEnv* env) {
205 return RegisterNativesImpl(env); 206 return RegisterNativesImpl(env);
206 } 207 }
207 208
208 } // namespace content 209 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mojo/service_registrar_android.cc ('k') | content/browser/time_zone_monitor_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698