| 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 15 matching lines...) Expand all Loading... |
| 26 // Service name for remoting. | 26 // Service name for remoting. |
| 27 const char kRemotingService[] = "chromoting"; | 27 const char kRemotingService[] = "chromoting"; |
| 28 // Service name for cloud print. | 28 // Service name for cloud print. |
| 29 const char kCloudPrintService[] = "cloudprint"; | 29 const char kCloudPrintService[] = "cloudprint"; |
| 30 | 30 |
| 31 // Service/scope names for device management (cloud-based policy) server. | 31 // Service/scope names for device management (cloud-based policy) server. |
| 32 const char kDeviceManagementService[] = "mobilesync"; | 32 const char kDeviceManagementService[] = "mobilesync"; |
| 33 const char kDeviceManagementServiceOAuth[] = | 33 const char kDeviceManagementServiceOAuth[] = |
| 34 "https://www.googleapis.com/auth/chromeosdevicemanagement"; | 34 "https://www.googleapis.com/auth/chromeosdevicemanagement"; |
| 35 | 35 |
| 36 // Service/scope names for chrome web store. | 36 // OAuth scopes for chrome web store. |
| 37 const char kCWSService[] = "chromewebstore"; | |
| 38 const char kCWSNotificationScope[] = | 37 const char kCWSNotificationScope[] = |
| 39 "https://www.googleapis.com/auth/chromewebstore.notification"; | 38 "https://www.googleapis.com/auth/chromewebstore.notification"; |
| 40 | 39 |
| 41 // Service for LSO endpoint of Google that exposes OAuth APIs. | 40 // Service for LSO endpoint of Google that exposes OAuth APIs. |
| 42 const char kLSOService[] = "lso"; | 41 const char kLSOService[] = "lso"; |
| 43 | 42 |
| 44 // Used to mint uber auth tokens when needed. | 43 // Used to mint uber auth tokens when needed. |
| 45 const char kGaiaSid[] = "sid"; | 44 const char kGaiaSid[] = "sid"; |
| 46 const char kGaiaLsid[] = "lsid"; | 45 const char kGaiaLsid[] = "lsid"; |
| 47 const char kGaiaOAuthToken[] = "oauthToken"; | 46 const char kGaiaOAuthToken[] = "oauthToken"; |
| 48 const char kGaiaOAuthSecret[] = "oauthSecret"; | 47 const char kGaiaOAuthSecret[] = "oauthSecret"; |
| 49 const char kGaiaOAuthDuration[] = "3600"; | 48 const char kGaiaOAuthDuration[] = "3600"; |
| 50 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken"; | 49 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken"; |
| 51 const char kGaiaOAuth2LoginAccessToken[] = "oauth2LoginAccessToken"; | 50 const char kGaiaOAuth2LoginAccessToken[] = "oauth2LoginAccessToken"; |
| 52 | 51 |
| 53 } // namespace GaiaConstants | 52 } // namespace GaiaConstants |
| OLD | NEW |