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

Side by Side Diff: chrome/browser/speech/tts_android.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_SPEECH_TTS_ANDROID_H_ 5 #ifndef CHROME_BROWSER_SPEECH_TTS_ANDROID_H_
6 #define CHROME_BROWSER_SPEECH_TTS_ANDROID_H_ 6 #define CHROME_BROWSER_SPEECH_TTS_ANDROID_H_
7 7
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
10 #include "base/macros.h"
10 #include "chrome/browser/speech/tts_platform.h" 11 #include "chrome/browser/speech/tts_platform.h"
11 #include "chrome/common/features.h" 12 #include "chrome/common/features.h"
12 13
13 class TtsPlatformImplAndroid : public TtsPlatformImpl { 14 class TtsPlatformImplAndroid : public TtsPlatformImpl {
14 public: 15 public:
15 // TtsPlatformImpl implementation. 16 // TtsPlatformImpl implementation.
16 bool PlatformImplAvailable() override; 17 bool PlatformImplAvailable() override;
17 bool Speak(int utterance_id, 18 bool Speak(int utterance_id,
18 const std::string& utterance, 19 const std::string& utterance,
19 const std::string& lang, 20 const std::string& lang,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 int utterance_id, TtsEventType event_type, int char_index); 55 int utterance_id, TtsEventType event_type, int char_index);
55 56
56 base::android::ScopedJavaGlobalRef<jobject> java_ref_; 57 base::android::ScopedJavaGlobalRef<jobject> java_ref_;
57 int utterance_id_; 58 int utterance_id_;
58 std::string utterance_; 59 std::string utterance_;
59 60
60 DISALLOW_COPY_AND_ASSIGN(TtsPlatformImplAndroid); 61 DISALLOW_COPY_AND_ASSIGN(TtsPlatformImplAndroid);
61 }; 62 };
62 63
63 #endif // CHROME_BROWSER_SPEECH_TTS_ANDROID_H_ 64 #endif // CHROME_BROWSER_SPEECH_TTS_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/browser/speech/speech_recognition_browsertest.cc ('k') | chrome/browser/speech/tts_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698