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 "chrome/common/net/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 | 14 |
15 // Service name for Gaia. Used to convert to cookie auth. | 15 // Service name for Gaia. Used to convert to cookie auth. |
16 const char kGaiaService[] = "gaia"; | 16 const char kGaiaService[] = "gaia"; |
17 // 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. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // in kClientOAuthAcceptsChallengesKey from that original request. | 86 // in kClientOAuthAcceptsChallengesKey from that original request. |
87 const char kClientOAuthNameKey[] = "name"; | 87 const char kClientOAuthNameKey[] = "name"; |
88 | 88 |
89 // The challenge token received in the original ClientOAuth request. | 89 // The challenge token received in the original ClientOAuth request. |
90 const char kClientOAuthChallengeTokenKey[] = "challenge_token"; | 90 const char kClientOAuthChallengeTokenKey[] = "challenge_token"; |
91 | 91 |
92 // The dictionary that contains the challenge response. | 92 // The dictionary that contains the challenge response. |
93 const char kClientOAuthchallengeReplyKey[] = "challenge_reply"; | 93 const char kClientOAuthchallengeReplyKey[] = "challenge_reply"; |
94 | 94 |
95 } // namespace GaiaConstants | 95 } // namespace GaiaConstants |
OLD | NEW |