gaia_switches.h revision 5821806d5e7f356e8fa4b058a389a808ea183019
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 3// found in the LICENSE file. 4 5#ifndef GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_ 6#define GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_ 7 8namespace switches { 9 10// Supplies custom client login to OAuth2 URL for testing purposes. 11extern const char kClientLoginToOAuth2Url[]; 12 13// Specifies the backend server used for gaia authentications, like sync or 14// policies for example. The https:// prefix and the trailing slash should be 15// omitted. The default value is "www.google.com". 16extern const char kGaiaHost[]; 17 18// Specifies the path prefix for GAIA authentication URL. It should be used 19// for testing in cases where authentication path prefix differs from the one 20// used in production. 21extern const char kGaiaUrlPath[]; 22 23// Specifies custom OAuth1 login scope for testing purposes. 24extern const char kOAuth1LoginScope[]; 25 26// Specifies custom OAuth2 issue token URL for testing purposes. 27extern const char kOAuth2IssueTokenUrl[]; 28 29// Specifies custom OAuth2 token URL for testing purposes. 30extern const char kOAuth2TokenUrl[]; 31 32} // namespace switches 33 34#endif // GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_ 35