| 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 |
| 11 // Gaia uses this for accounting where login is coming from. | 11 // Gaia uses this for accounting where login is coming from. |
| 12 const char kChromeOSSource[] = "chromeos"; | 12 const char kChromeOSSource[] = "chromeos"; |
| 13 const char kChromeSource[] = "ChromiumBrowser"; | 13 const char kChromeSource[] = "ChromiumBrowser"; |
| 14 const char kReconcilorSource[] = "ChromiumReconcilor"; | |
| 15 | 14 |
| 16 // Service name for Gaia. Used to convert to cookie auth. | 15 // Service name for Gaia. Used to convert to cookie auth. |
| 17 const char kGaiaService[] = "gaia"; | 16 const char kGaiaService[] = "gaia"; |
| 18 // Service name for Picasa API. API is used to get user's image. | 17 // Service name for Picasa API. API is used to get user's image. |
| 19 const char kPicasaService[] = "lh2"; | 18 const char kPicasaService[] = "lh2"; |
| 20 | 19 |
| 21 // Service/scope names for sync. | 20 // Service/scope names for sync. |
| 22 const char kSyncService[] = "chromiumsync"; | 21 const char kSyncService[] = "chromiumsync"; |
| 23 | 22 |
| 24 // Service name for remoting. | 23 // Service name for remoting. |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 63 |
| 65 // 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 |
| 66 // building base::DictionaryValue that represent the json data that makes up | 65 // building base::DictionaryValue that represent the json data that makes up |
| 67 // the ClientOAuth endpoint protocol. The comment above each constant explains | 66 // the ClientOAuth endpoint protocol. The comment above each constant explains |
| 68 // what value is associated with that key. | 67 // what value is associated with that key. |
| 69 | 68 |
| 70 // Canonical email of the account to sign in. | 69 // Canonical email of the account to sign in. |
| 71 const char kClientOAuthEmailKey[] = "email"; | 70 const char kClientOAuthEmailKey[] = "email"; |
| 72 | 71 |
| 73 } // namespace GaiaConstants | 72 } // namespace GaiaConstants |
| OLD | NEW |