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

Side by Side Diff: google_apis/gaia/gaia_constants.cc

Issue 23874015: Implement people search. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
32 32
33 // OAuth2 scope for access to Chrome sync APIs 33 // OAuth2 scope for access to Chrome sync APIs
34 const char kChromeSyncOAuth2Scope[] = 34 const char kChromeSyncOAuth2Scope[] =
35 "https://www.googleapis.com/auth/chromesync"; 35 "https://www.googleapis.com/auth/chromesync";
36 // OAuth2 scope for access to the Chrome Sync APIs for managed profiles. 36 // OAuth2 scope for access to the Chrome Sync APIs for managed profiles.
37 const char kChromeSyncManagedOAuth2Scope[] = 37 const char kChromeSyncManagedOAuth2Scope[] =
38 "https://www.googleapis.com/auth/chromesync_playpen"; 38 "https://www.googleapis.com/auth/chromesync_playpen";
39 // OAuth2 scope for access to Google Talk APIs (XMPP). 39 // OAuth2 scope for access to Google Talk APIs (XMPP).
40 const char kGoogleTalkOAuth2Scope[] = 40 const char kGoogleTalkOAuth2Scope[] =
41 "https://www.googleapis.com/auth/googletalk"; 41 "https://www.googleapis.com/auth/googletalk";
42 // OAuth2 scope for access to the Google+ People Search API.
zel 2013/09/05 21:27:50 I wouldn't keep this here at all. Move the scope c
rkc 2013/09/05 21:57:25 Done.
43 const char kPeopleSearchOAuth2Scope[] =
44 "https://www.googleapis.com/auth/plus.peopleapi.readwrite";
42 45
43 // Used to mint uber auth tokens when needed. 46 // Used to mint uber auth tokens when needed.
44 const char kGaiaSid[] = "sid"; 47 const char kGaiaSid[] = "sid";
45 const char kGaiaLsid[] = "lsid"; 48 const char kGaiaLsid[] = "lsid";
46 const char kGaiaOAuthToken[] = "oauthToken"; 49 const char kGaiaOAuthToken[] = "oauthToken";
47 const char kGaiaOAuthSecret[] = "oauthSecret"; 50 const char kGaiaOAuthSecret[] = "oauthSecret";
48 const char kGaiaOAuthDuration[] = "3600"; 51 const char kGaiaOAuthDuration[] = "3600";
49 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken"; 52 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken";
50 53
51 // Used to construct a channel ID for push messaging. 54 // Used to construct a channel ID for push messaging.
52 const char kObfuscatedGaiaId[] = "obfuscatedGaiaId"; 55 const char kObfuscatedGaiaId[] = "obfuscatedGaiaId";
53 56
54 // Used to build ClientOAuth requests. These are the names of keys used when 57 // Used to build ClientOAuth requests. These are the names of keys used when
55 // building base::DictionaryValue that represent the json data that makes up 58 // building base::DictionaryValue that represent the json data that makes up
56 // the ClientOAuth endpoint protocol. The comment above each constant explains 59 // the ClientOAuth endpoint protocol. The comment above each constant explains
57 // what value is associated with that key. 60 // what value is associated with that key.
58 61
59 // Canonical email of the account to sign in. 62 // Canonical email of the account to sign in.
60 const char kClientOAuthEmailKey[] = "email"; 63 const char kClientOAuthEmailKey[] = "email";
61 64
62 } // namespace GaiaConstants 65 } // namespace GaiaConstants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698