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"; | |
Mike Lerman
2014/09/26 16:57:08
Should the string be perhaps ChromiumBrowserReconc
Roger Tawa OOO till Jul 10th
2014/09/26 19:42:39
Yup, already checked with them and this is string
| |
14 | 15 |
15 // Service name for Gaia. Used to convert to cookie auth. | 16 // Service name for Gaia. Used to convert to cookie auth. |
16 const char kGaiaService[] = "gaia"; | 17 const char kGaiaService[] = "gaia"; |
17 // Service name for Picasa API. API is used to get user's image. | 18 // Service name for Picasa API. API is used to get user's image. |
18 const char kPicasaService[] = "lh2"; | 19 const char kPicasaService[] = "lh2"; |
19 | 20 |
20 // Service/scope names for sync. | 21 // Service/scope names for sync. |
21 const char kSyncService[] = "chromiumsync"; | 22 const char kSyncService[] = "chromiumsync"; |
22 | 23 |
23 // Service name for remoting. | 24 // Service name for remoting. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
63 | 64 |
64 // Used to build ClientOAuth requests. These are the names of keys used when | 65 // Used to build ClientOAuth requests. These are the names of keys used when |
65 // building base::DictionaryValue that represent the json data that makes up | 66 // building base::DictionaryValue that represent the json data that makes up |
66 // the ClientOAuth endpoint protocol. The comment above each constant explains | 67 // the ClientOAuth endpoint protocol. The comment above each constant explains |
67 // what value is associated with that key. | 68 // what value is associated with that key. |
68 | 69 |
69 // Canonical email of the account to sign in. | 70 // Canonical email of the account to sign in. |
70 const char kClientOAuthEmailKey[] = "email"; | 71 const char kClientOAuthEmailKey[] = "email"; |
71 | 72 |
72 } // namespace GaiaConstants | 73 } // namespace GaiaConstants |
OLD | NEW |