OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Constants definitions | 5 // Constants definitions |
6 | 6 |
7 #include "google_apis/gaia/gaia_constants.h" | 7 #include "google_apis/gaia/gaia_constants.h" |
8 | 8 |
9 namespace GaiaConstants { | 9 namespace GaiaConstants { |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 const char kDeviceManagementServiceOAuth[] = | 32 const char kDeviceManagementServiceOAuth[] = |
33 "https://www.googleapis.com/auth/chromeosdevicemanagement"; | 33 "https://www.googleapis.com/auth/chromeosdevicemanagement"; |
34 | 34 |
35 // OAuth2 scope for access to all Google APIs. | 35 // OAuth2 scope for access to all Google APIs. |
36 const char kAnyApiOAuth2Scope[] = "https://www.googleapis.com/auth/any-api"; | 36 const char kAnyApiOAuth2Scope[] = "https://www.googleapis.com/auth/any-api"; |
37 | 37 |
38 // OAuth2 scope for access to Chrome sync APIs | 38 // OAuth2 scope for access to Chrome sync APIs |
39 const char kChromeSyncOAuth2Scope[] = | 39 const char kChromeSyncOAuth2Scope[] = |
40 "https://www.googleapis.com/auth/chromesync"; | 40 "https://www.googleapis.com/auth/chromesync"; |
41 // OAuth2 scope for access to the Chrome Sync APIs for managed profiles. | 41 // OAuth2 scope for access to the Chrome Sync APIs for managed profiles. |
42 const char kChromeSyncManagedOAuth2Scope[] = | 42 const char kChromeSyncSupervisedOAuth2Scope[] = |
43 "https://www.googleapis.com/auth/chromesync_playpen"; | 43 "https://www.googleapis.com/auth/chromesync_playpen"; |
44 // OAuth2 scope for access to Google Talk APIs (XMPP). | 44 // OAuth2 scope for access to Google Talk APIs (XMPP). |
45 const char kGoogleTalkOAuth2Scope[] = | 45 const char kGoogleTalkOAuth2Scope[] = |
46 "https://www.googleapis.com/auth/googletalk"; | 46 "https://www.googleapis.com/auth/googletalk"; |
47 | 47 |
48 const char kGoogleUserInfoEmail[] = | 48 const char kGoogleUserInfoEmail[] = |
49 "https://www.googleapis.com/auth/userinfo.email"; | 49 "https://www.googleapis.com/auth/userinfo.email"; |
50 const char kGoogleUserInfoProfile[] = | 50 const char kGoogleUserInfoProfile[] = |
51 "https://www.googleapis.com/auth/userinfo.profile"; | 51 "https://www.googleapis.com/auth/userinfo.profile"; |
52 | 52 |
(...skipping 10 matching lines...) Expand all Loading... |
63 | 63 |
64 // Used to build ClientOAuth requests. These are the names of keys used when | 64 // Used to build ClientOAuth requests. These are the names of keys used when |
65 // building base::DictionaryValue that represent the json data that makes up | 65 // building base::DictionaryValue that represent the json data that makes up |
66 // the ClientOAuth endpoint protocol. The comment above each constant explains | 66 // the ClientOAuth endpoint protocol. The comment above each constant explains |
67 // what value is associated with that key. | 67 // what value is associated with that key. |
68 | 68 |
69 // Canonical email of the account to sign in. | 69 // Canonical email of the account to sign in. |
70 const char kClientOAuthEmailKey[] = "email"; | 70 const char kClientOAuthEmailKey[] = "email"; |
71 | 71 |
72 } // namespace GaiaConstants | 72 } // namespace GaiaConstants |
OLD | NEW |