[google_apis] Only define Ash-specific keys in Ash builds
The SODA key is moved to accommodate a single conditional block for Ash. Bug: 1377536 Change-Id: Ic639b2a90d9797e99ce616dace66b09cd01306d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3991851 Commit-Queue: David Dorwin <ddorwin@chromium.org> Reviewed-by: Mihai Sardarescu <msarda@chromium.org> Cr-Commit-Position: refs/heads/main@{#1066714}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
0960da52f5
commit
97f1a03603
google_apis
@ -79,19 +79,19 @@ std::string GetNonStableAPIKey();
|
||||
// Retrieves the Chrome Remote Desktop API key.
|
||||
std::string GetRemotingAPIKey();
|
||||
|
||||
// Retrieves the Speech On-Device API (SODA) API Key.
|
||||
std::string GetSodaAPIKey();
|
||||
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
// Retrieves the Sharing API Key.
|
||||
std::string GetSharingAPIKey();
|
||||
#endif
|
||||
|
||||
// Retrieves the Speech On-Device API (SODA) API Key.
|
||||
std::string GetSodaAPIKey();
|
||||
|
||||
// Retrieves the ReadAloud API Key.
|
||||
std::string GetReadAloudAPIKey();
|
||||
|
||||
// Retrieves the Fresnel API Key.
|
||||
std::string GetFresnelAPIKey();
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(SUPPORT_EXTERNAL_GOOGLE_API_KEY)
|
||||
// Sets the API key. This should be called as early as possible before this
|
||||
|
Reference in New Issue
Block a user