diff options
author | dzhioev <dzhioev@chromium.org> | 2015-10-20 16:00:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-20 23:00:45 +0000 |
commit | bd0661417ac3747f60e69ef518f53f45c536cf43 (patch) | |
tree | 518c184f7e707bb7d4d3030cbe5566c8494b1b88 /google_apis | |
parent | 9ef3f955756710689d93db425ba94612a5a164b0 (diff) | |
download | chromium_src-bd0661417ac3747f60e69ef518f53f45c536cf43.zip chromium_src-bd0661417ac3747f60e69ef518f53f45c536cf43.tar.gz chromium_src-bd0661417ac3747f60e69ef518f53f45c536cf43.tar.bz2 |
Added notice about missing API keys to Chrome OS login screen.
Recently it became impossible to add a user in Chrome OS if API keys were not
specified. Adding this notice should help developers to resolve this issue.
BUG=516861
Review URL: https://codereview.chromium.org/1406853002
Cr-Commit-Position: refs/heads/master@{#355177}
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/google_api_keys.cc | 3 | ||||
-rw-r--r-- | google_apis/google_api_keys.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/google_apis/google_api_keys.cc b/google_apis/google_api_keys.cc index 6a2dd3de..f919630 100644 --- a/google_apis/google_api_keys.cc +++ b/google_apis/google_api_keys.cc @@ -76,6 +76,9 @@ namespace google_apis { +const char kAPIKeysDevelopersHowToURL[] = + "http://www.chromium.org/developers/how-tos/api-keys"; + // This is used as a lazy instance to determine keys once and cache them. class APIKeyCache { public: diff --git a/google_apis/google_api_keys.h b/google_apis/google_api_keys.h index 9650593..b4b6fac 100644 --- a/google_apis/google_api_keys.h +++ b/google_apis/google_api_keys.h @@ -56,6 +56,8 @@ namespace google_apis { +extern const char kAPIKeysDevelopersHowToURL[]; + // Returns true if no dummy API keys or OAuth2 tokens are set. bool HasKeysConfigured(); |