0

Reland "Add SODA API Key"

This is a reland of b01fb51632

Reason for revert: Did not roll out internal DEPS
(https://chrome-internal-review.googlesource.com/c/chrome/src-internal/+/3179564)

Original change's description:
> Add SODA API Key
>
> This CL adds an API key for the Speech On-Device API (SODA). Usage of
> the API key is outlined here: go/securing-soda-on-chrome.
>
> Bug: 1107615
> Change-Id: Ic92418407e17a88426559251e77797bd0b34818b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2309133
> Reviewed-by: David Roger <droger@chromium.org>
> Commit-Queue: Evan Liu <evliu@google.com>
> Cr-Commit-Position: refs/heads/master@{#790550}

Bug: 1107615
Change-Id: Id15cbafdc68bf75a06d21c8b70bbfeb1a63db83c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315237
Reviewed-by: David Roger <droger@chromium.org>
Commit-Queue: David Roger <droger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791181}
This commit is contained in:
evliu
2020-07-23 09:17:21 +00:00
committed by Commit Bot
parent cfab2fd757
commit dcab71341e
2 changed files with 18 additions and 0 deletions

@ -80,6 +80,9 @@ std::string GetRemotingAPIKey();
// Retrieves the Sharing API Key.
std::string GetSharingAPIKey();
// Retrieves the Speech On-Device API (SODA) API Key.
std::string GetSodaAPIKey();
#if defined(OS_IOS)
// Sets the API key. This should be called as early as possible before this
// API key is even accessed.