diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-17 17:33:20 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-17 17:33:20 +0000 |
commit | fc2212d8cec6171734c8e547896b0e37f8d1c45d (patch) | |
tree | 21563859c8199e947531597b96ddde7350530d37 /google_apis | |
parent | db9e74fd1be6be0f838cc3dd8400f396ee70a90c (diff) | |
download | chromium_src-fc2212d8cec6171734c8e547896b0e37f8d1c45d.zip chromium_src-fc2212d8cec6171734c8e547896b0e37f8d1c45d.tar.gz chromium_src-fc2212d8cec6171734c8e547896b0e37f8d1c45d.tar.bz2 |
Check in temporary keys to aid transition.
TBR=odean@chromium.org
BUG=145584
Review URL: https://codereview.chromium.org/10913298
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/google_api_keys.cc | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/google_apis/google_api_keys.cc b/google_apis/google_api_keys.cc index 20366b7..70d0a12 100644 --- a/google_apis/google_api_keys.cc +++ b/google_apis/google_api_keys.cc @@ -36,39 +36,34 @@ #define DUMMY_API_TOKEN "dummytoken" #if !defined(GOOGLE_API_KEY) -#define GOOGLE_API_KEY DUMMY_API_TOKEN +// TODO(joi): This is temporary; switch to DUMMY_API_TOKEN once people +// have had some time to install API keys per +// http://chromium.org/developers/how-tos/api-keys +#define GOOGLE_API_KEY "AIzaSyBHDrl33hwRp4rMQY0ziRbj8K9LPA6vUCY" #endif #if !defined(GOOGLE_CLIENT_ID_MAIN) -// TODO(joi): Use DUMMY_API_TOKEN here once folks on chromium-dev have -// had a couple of days to update their include.gypi. -#define GOOGLE_CLIENT_ID_MAIN "77185425430.apps.googleusercontent.com" +#define GOOGLE_CLIENT_ID_MAIN DUMMY_API_TOKEN #endif #if !defined(GOOGLE_CLIENT_SECRET_MAIN) -// TODO(joi): As above. -#define GOOGLE_CLIENT_SECRET_MAIN "OTJgUOQcT7lO7GsGZq2G4IlT" +#define GOOGLE_CLIENT_SECRET_MAIN DUMMY_API_TOKEN #endif #if !defined(GOOGLE_CLIENT_ID_CLOUD_PRINT) -// TODO(joi): As above. -#define GOOGLE_CLIENT_ID_CLOUD_PRINT "551556820943.apps.googleusercontent.com" +#define GOOGLE_CLIENT_ID_CLOUD_PRINT DUMMY_API_TOKEN #endif #if !defined(GOOGLE_CLIENT_SECRET_CLOUD_PRINT) -// TODO(joi): As above. -#define GOOGLE_CLIENT_SECRET_CLOUD_PRINT "u3/mp8CgLFxh4uiX1855/MHe" +#define GOOGLE_CLIENT_SECRET_CLOUD_PRINT DUMMY_API_TOKEN #endif #if !defined(GOOGLE_CLIENT_ID_REMOTING) -// TODO(joi): As above. -#define GOOGLE_CLIENT_ID_REMOTING \ - "440925447803-avn2sj1kc099s0r7v62je5s339mu0am1.apps.googleusercontent.com" +#define GOOGLE_CLIENT_ID_REMOTING DUMMY_API_TOKEN #endif #if !defined(GOOGLE_CLIENT_SECRET_REMOTING) -// TODO(joi): As above. -#define GOOGLE_CLIENT_SECRET_REMOTING "Bgur6DFiOMM1h8x-AQpuTQlK" +#define GOOGLE_CLIENT_SECRET_REMOTING DUMMY_API_TOKEN #endif // These are used as shortcuts for developers and users providing @@ -76,11 +71,15 @@ // variables. If set, they will be used to replace any of the client // IDs and secrets above that have not been set (and only those; they // will not override already-set values). +// +// TODO(joi): This is temporary; make both blank once people have had +// some time to install API keys per +// http://chromium.org/developers/how-tos/api-keys #if !defined(GOOGLE_DEFAULT_CLIENT_ID) -#define GOOGLE_DEFAULT_CLIENT_ID "" +#define GOOGLE_DEFAULT_CLIENT_ID "609716072145.apps.googleusercontent.com" #endif #if !defined(GOOGLE_DEFAULT_CLIENT_SECRET) -#define GOOGLE_DEFAULT_CLIENT_SECRET "" +#define GOOGLE_DEFAULT_CLIENT_SECRET "WF4uG3gJzEH0KLpS7OuFBDux" #endif namespace switches { |