0

Plumb through API key for ReadAloud service.

API key will be used by integration with remote ReadAloud service to provide enhanced text-to-speech synthesis to Select-to-speak.

go/wavenet-chromeos-dd

Bug: 1215291
Change-Id: Ib6263369a15329d9f129273698e009fc0d6c1b69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2930784
Reviewed-by: David Roger <droger@chromium.org>
Commit-Queue: Joel Riley <joelriley@google.com>
Cr-Commit-Position: refs/heads/master@{#889428}
This commit is contained in:
Joel Riley
2021-06-04 20:25:57 +00:00
committed by Chromium LUCI CQ
parent 701b1a3728
commit 43ccd76635
2 changed files with 18 additions and 0 deletions

@ -85,6 +85,9 @@ std::string GetSharingAPIKey();
// Retrieves the Speech On-Device API (SODA) API Key.
std::string GetSodaAPIKey();
// Retrieves the ReadAloud API Key.
std::string GetReadAloudAPIKey();
#if defined(OS_IOS) || defined(OS_FUCHSIA)
// Sets the API key. This should be called as early as possible before this
// API key is even accessed. It must be called before GetAPIKey.