|
36 | 36 | #define DUMMY_API_TOKEN "dummytoken"
|
37 | 37 |
|
38 | 38 | #if !defined(GOOGLE_API_KEY)
|
39 |
| -#define GOOGLE_API_KEY DUMMY_API_TOKEN |
| 39 | +// TODO(joi): This is temporary; switch to DUMMY_API_TOKEN once people |
| 40 | +// have had some time to install API keys per |
| 41 | +// http://chromium.org/developers/how-tos/api-keys |
| 42 | +#define GOOGLE_API_KEY "AIzaSyBHDrl33hwRp4rMQY0ziRbj8K9LPA6vUCY" |
40 | 43 | #endif
|
41 | 44 |
|
42 | 45 | #if !defined(GOOGLE_CLIENT_ID_MAIN)
|
43 |
| -// TODO(joi): Use DUMMY_API_TOKEN here once folks on chromium-dev have |
44 |
| -// had a couple of days to update their include.gypi. |
45 |
| -#define GOOGLE_CLIENT_ID_MAIN "77185425430.apps.googleusercontent.com" |
| 46 | +#define GOOGLE_CLIENT_ID_MAIN DUMMY_API_TOKEN |
46 | 47 | #endif
|
47 | 48 |
|
48 | 49 | #if !defined(GOOGLE_CLIENT_SECRET_MAIN)
|
49 |
| -// TODO(joi): As above. |
50 |
| -#define GOOGLE_CLIENT_SECRET_MAIN "OTJgUOQcT7lO7GsGZq2G4IlT" |
| 50 | +#define GOOGLE_CLIENT_SECRET_MAIN DUMMY_API_TOKEN |
51 | 51 | #endif
|
52 | 52 |
|
53 | 53 | #if !defined(GOOGLE_CLIENT_ID_CLOUD_PRINT)
|
54 |
| -// TODO(joi): As above. |
55 |
| -#define GOOGLE_CLIENT_ID_CLOUD_PRINT "551556820943.apps.googleusercontent.com" |
| 54 | +#define GOOGLE_CLIENT_ID_CLOUD_PRINT DUMMY_API_TOKEN |
56 | 55 | #endif
|
57 | 56 |
|
58 | 57 | #if !defined(GOOGLE_CLIENT_SECRET_CLOUD_PRINT)
|
59 |
| -// TODO(joi): As above. |
60 |
| -#define GOOGLE_CLIENT_SECRET_CLOUD_PRINT "u3/mp8CgLFxh4uiX1855/MHe" |
| 58 | +#define GOOGLE_CLIENT_SECRET_CLOUD_PRINT DUMMY_API_TOKEN |
61 | 59 | #endif
|
62 | 60 |
|
63 | 61 | #if !defined(GOOGLE_CLIENT_ID_REMOTING)
|
64 |
| -// TODO(joi): As above. |
65 |
| -#define GOOGLE_CLIENT_ID_REMOTING \ |
66 |
| - "440925447803-avn2sj1kc099s0r7v62je5s339mu0am1.apps.googleusercontent.com" |
| 62 | +#define GOOGLE_CLIENT_ID_REMOTING DUMMY_API_TOKEN |
67 | 63 | #endif
|
68 | 64 |
|
69 | 65 | #if !defined(GOOGLE_CLIENT_SECRET_REMOTING)
|
70 |
| -// TODO(joi): As above. |
71 |
| -#define GOOGLE_CLIENT_SECRET_REMOTING "Bgur6DFiOMM1h8x-AQpuTQlK" |
| 66 | +#define GOOGLE_CLIENT_SECRET_REMOTING DUMMY_API_TOKEN |
72 | 67 | #endif
|
73 | 68 |
|
74 | 69 | // These are used as shortcuts for developers and users providing
|
75 | 70 | // OAuth credentials via preprocessor defines or environment
|
76 | 71 | // variables. If set, they will be used to replace any of the client
|
77 | 72 | // IDs and secrets above that have not been set (and only those; they
|
78 | 73 | // will not override already-set values).
|
| 74 | +// |
| 75 | +// TODO(joi): This is temporary; make both blank once people have had |
| 76 | +// some time to install API keys per |
| 77 | +// http://chromium.org/developers/how-tos/api-keys |
79 | 78 | #if !defined(GOOGLE_DEFAULT_CLIENT_ID)
|
80 |
| -#define GOOGLE_DEFAULT_CLIENT_ID "" |
| 79 | +#define GOOGLE_DEFAULT_CLIENT_ID "609716072145.apps.googleusercontent.com" |
81 | 80 | #endif
|
82 | 81 | #if !defined(GOOGLE_DEFAULT_CLIENT_SECRET)
|
83 |
| -#define GOOGLE_DEFAULT_CLIENT_SECRET "" |
| 82 | +#define GOOGLE_DEFAULT_CLIENT_SECRET "WF4uG3gJzEH0KLpS7OuFBDux" |
84 | 83 | #endif
|
85 | 84 |
|
86 | 85 | namespace switches {
|
|
0 commit comments