gaia_constants.h revision 7d4cd473f85ac64c3747c96c277f9e506a0d2246
15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2012 The Chromium Authors. All rights reserved.
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file.
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)//
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Constants used by IssueAuthToken and ClientLogin
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)namespace GaiaConstants {
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Gaia sources for accounting
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kChromeOSSource[];
145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kChromeSource[];
155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Gaia services for requesting
175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kGaiaService[];  // uber token
185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kPicasaService[];
195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kSyncService[];
205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kRemotingService[];
215821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kCloudPrintService[];
225821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kDeviceManagementServiceOAuth[];
23c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)extern const char kAnyApiOAuth2Scope[];
247d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)extern const char kChromeSyncOAuth2Scope[];
257d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)extern const char kGoogleTalkOAuth2Scope[];
265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kLSOService[];
275821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
285821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Used with uber auth tokens when needed.
295821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kGaiaSid[];
305821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kGaiaLsid[];
315821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kGaiaOAuthToken[];
325821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kGaiaOAuthSecret[];
335821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kGaiaOAuthDuration[];
345821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kGaiaOAuth2LoginRefreshToken[];
355821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
365821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Used to construct a channel ID for push messaging.
375821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kObfuscatedGaiaId[];
385821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
39c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)// Used by wallet sign in helper.
405821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)extern const char kClientOAuthEmailKey[];
415821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
425821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}  // namespace GaiaConstants
435821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
445821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif  // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_
45