OLD | NEW |
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 Loading... |
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 |
OLD | NEW |