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

Side by Side Diff: chrome/common/net/gaia/gaia_constants.cc

Issue 8632005: Part 1 of work to do user sign in based on OAuth2: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/common/net/gaia/gaia_constants.h" 7 #include "chrome/common/net/gaia/gaia_constants.h"
8 8
9 namespace GaiaConstants { 9 namespace GaiaConstants {
10 10
(...skipping 26 matching lines...) Expand all
37 const char kCWSService[] = "chromewebstore"; 37 const char kCWSService[] = "chromewebstore";
38 const char kCWSNotificationScope[] = 38 const char kCWSNotificationScope[] =
39 "https://www.googleapis.com/auth/chromewebstore.notification"; 39 "https://www.googleapis.com/auth/chromewebstore.notification";
40 40
41 // Service for LSO endpoint of Google that exposes OAuth APIs. 41 // Service for LSO endpoint of Google that exposes OAuth APIs.
42 const char kLSOService[] = "lso"; 42 const char kLSOService[] = "lso";
43 43
44 // Used to mint uber auth tokens when needed. 44 // Used to mint uber auth tokens when needed.
45 const char kGaiaSid[] = "sid"; 45 const char kGaiaSid[] = "sid";
46 const char kGaiaLsid[] = "lsid"; 46 const char kGaiaLsid[] = "lsid";
47 extern const char kGaiaOAuthToken[] = "oauthToken"; 47 const char kGaiaOAuthToken[] = "oauthToken";
48 extern const char kGaiaOAuthSecret[] = "oauthSecret"; 48 const char kGaiaOAuthSecret[] = "oauthSecret";
49 extern const char kGaiaOAuthDuration[] = "3600"; 49 const char kGaiaOAuthDuration[] = "3600";
50 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken";
51 const char kGaiaOAuth2LoginAccessToken[] = "oauth2LoginAccessToken";
50 52
51 } // namespace GaiaConstants 53 } // namespace GaiaConstants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698