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 8 namespace switches { 9 10 // Supplies custom client login to OAuth2 URL for testing purposes. 11 extern const char kClientLoginToOAuth2Url[]; 12 13 // Specifies the path for GAIA authentication URL. The default value is 14 // "https://accounts.google.com". 15 extern const char kGaiaUrl[]; 16 17 // Specifies the backend server used for Google API calls. The https:// prefix 18 // and the trailing slash should be omitted. 19 // The default value is "www.googleapis.com". 20 extern const char kGoogleApisHost[]; 21 22 // Specifies the backend server used for lso authentication calls. 23 // "https://accounts.google.com". 24 extern const char kLsoUrl[]; 25 26 // TODO(zelidrag): Get rid of all following since all URLs should be 27 // controlled only with --gaia-host, --lso-host and --google-apis-host. 28 29 // Specifies custom OAuth1 login scope for testing purposes. 30 extern const char kOAuth1LoginScope[]; 31 32 // Specifies custom OAuth2 issue token URL for testing purposes. 33 extern const char kOAuth2IssueTokenUrl[]; 34 35 // Specifies custom OAuth2 token URL for testing purposes. 36 extern const char kOAuth2TokenUrl[]; 37 38 // Specifies custom OAuth user info URL for testing purposes. 39 extern const char kOAuthUserInfoUrl[]; 40 } // namespace switches 41 42 #endif // GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_ 43