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

Unified Diff: chrome/browser/speech/tts_android.h

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/speech/tts_android.h
diff --git a/chrome/browser/speech/tts_android.h b/chrome/browser/speech/tts_android.h
index f6ce3b237fde39abd19745cd49ead4201849047e..732db86835ae1d0b51f176b6b84a86e3360d254a 100644
--- a/chrome/browser/speech/tts_android.h
+++ b/chrome/browser/speech/tts_android.h
@@ -32,7 +32,9 @@ class TtsPlatformImplAndroid : public TtsPlatformImpl {
// Static functions.
static TtsPlatformImplAndroid* GetInstance();
+#if defined(ANDROID_JAVA_UI)
static bool Register(JNIEnv* env);
+#endif
private:
friend struct base::DefaultSingletonTraits<TtsPlatformImplAndroid>;

Powered by Google App Engine
This is Rietveld 408576698