summaryrefslogtreecommitdiffstats
path: root/google_apis/google_api_keys.h
diff options
context:
space:
mode:
authortreib <treib@chromium.org>2014-11-24 04:35:48 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-24 12:36:07 +0000
commite81fd0f30e02e007ba86c63c9a1ce5299150fc54 (patch)
treea7f03719487992a74bc2c9beca2e156392f2ce7f /google_apis/google_api_keys.h
parent6c33f25875f8fe6c4fc6c6509309417653580845 (diff)
downloadchromium_src-e81fd0f30e02e007ba86c63c9a1ce5299150fc54.zip
chromium_src-e81fd0f30e02e007ba86c63c9a1ce5299150fc54.tar.gz
chromium_src-e81fd0f30e02e007ba86c63c9a1ce5299150fc54.tar.bz2
Revert of Revert of Supervised user SafeSites: Expose & use API key from src-internal (patchset #1 id:1 of https://codereview.chromium.org/753683004/)
Reason for revert: Relanding because the original reason for reverting looks like a flake rather than an issue with the CL. Original issue's description: > Revert of Supervised user SafeSites: Expose & use API key from src-internal (patchset #5 id:80001 of https://codereview.chromium.org/690423003/) > > Reason for revert: > Build breakage on Mac: > > https://build.chromium.org/p/chromium.mac/builders/Mac%20Builder/builds/14318/steps/steps/logs/stdio > > Original issue's description: > > Supervised user SafeSites: Expose & use API key from src-internal > > > > Key was added to src-internal in https://chromereviews.googleplex.com/113767014/ > > > > BUG=417722 > > > > Committed: https://crrev.com/2ee5f146d57d07bbad3804715e06590b850711f9 > > Cr-Commit-Position: refs/heads/master@{#305412} > > TBR=rogerta@chromium.org,bauerb@chromium.org,treib@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=417722 > > Committed: https://crrev.com/13c88c66f60e6364478a411e8ccf0bfd689f0a96 > Cr-Commit-Position: refs/heads/master@{#305413} TBR=rogerta@chromium.org,bauerb@chromium.org,tnagel@chromium.org NOTRY=true BUG=417722 Review URL: https://codereview.chromium.org/756593002 Cr-Commit-Position: refs/heads/master@{#305416}
Diffstat (limited to 'google_apis/google_api_keys.h')
-rw-r--r--google_apis/google_api_keys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/google_apis/google_api_keys.h b/google_apis/google_api_keys.h
index b2399bf..9650593 100644
--- a/google_apis/google_api_keys.h
+++ b/google_apis/google_api_keys.h
@@ -66,6 +66,8 @@ bool HasKeysConfigured();
// e.g. URL-escaped if you use it in a URL.
std::string GetAPIKey();
+std::string GetSafeSitesAPIKey();
+
// Represents the different sets of client IDs and secrets in use.
enum OAuth2Client {
CLIENT_MAIN, // Several different features use this.