0

Reland "Add remoting FTL API key"

This is a reland of c0cf050da7.

It also fixes a bug that the GetRemotingFtlAPIKey function is mistakenly
named GetFtlAPIKey in the CC file.

Original change's description:
> Add remoting FTL API key
>
> Add API key for remoting to use during the signaling process. Note that
> this key is only used by Chrome Remote Desktop and will not be used in
> the Chrome browser.
>
> Internal CL: https://chrome-internal-review.googlesource.com/c/chrome/google_apis/internal/+/831973
>
> Bug: 927962
> Change-Id: Iecfa48aebe1078a4a0c747f42711000d9155fc3f
> Reviewed-on: https://chromium-review.googlesource.com/c/1450409
> Reviewed-by: Joe Downing <joedow@chromium.org>
> Reviewed-by: Roger Tawa <rogerta@chromium.org>
> Auto-Submit: Yuwei Huang <yuweih@chromium.org>
> Commit-Queue: Roger Tawa <rogerta@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#630352}

Bug: 927962
Change-Id: I04c995d4348ef42de8a72c8c4abd5cff60cda1cd
Reviewed-on: https://chromium-review.googlesource.com/c/1461551
Reviewed-by: Roger Tawa <rogerta@chromium.org>
Commit-Queue: Yuwei Huang <yuweih@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631828}
This commit is contained in:
Yuwei Huang
2019-02-13 19:07:26 +00:00
committed by Commit Bot
parent e3056235c6
commit 48b145e704
2 changed files with 19 additions and 0 deletions

@ -73,6 +73,10 @@ std::string GetAPIKey();
// Non-stable channels may have a different Google API key.
std::string GetNonStableAPIKey();
// Retrieves the Chrome Remote Desktop FTL API key to be used during the
// signaling process.
std::string GetRemotingFtlAPIKey();
#if defined(OS_IOS)
// Sets the API key. This should be called as early as possible before this
// API key is even accessed.