Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Issue 131743018: Add a function for determining if official Google Chrome API key is used. (Closed)

Created:
6 years, 11 months ago by kinaba
Modified:
6 years, 11 months ago
Reviewers:
Jói
CC:
chromium-reviews
Visibility:
Public.

Description

Add a function for determining if official Google Chrome API key is used. I'd like to add this for handling several features of Google Drive API that is only available for whitelisted first-party client. By checking the key by the newly added function, we can provide better fallbacks for clients with third-party keys, instead of just failing. BUG=332332, 324166 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245504

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M google_apis/google_api_keys.h View 1 chunk +4 lines, -0 lines 0 comments Download
M google_apis/google_api_keys.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
kinaba
+joi: PTAL. Let me know if you think there is a better way to handle ...
6 years, 11 months ago (2014-01-17 04:37:32 UTC) #1
Jói
LGTM, this seems like the best approach. On Fri, Jan 17, 2014 at 5:37 AM, ...
6 years, 11 months ago (2014-01-17 08:44:10 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/131743018/1
6 years, 11 months ago (2014-01-17 08:46:56 UTC) #3
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 13:55:24 UTC) #4
Message was sent while issue was closed.
Change committed as 245504

Powered by Google App Engine
This is Rietveld 408576698