gaia_switches.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #ifndef GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_
  5. #define GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_
  6. namespace switches {
  7. // Specifies the path to a config file containing GAIA urls.
  8. // See "google_apis/test/data/gaia/all_urls.json" for a format example.
  9. extern const char kGaiaConfigPath[];
  10. // Specifies a string containing the JSON config for GAIA urls. This is
  11. // equivalent to pointing to a file with the same content via kGaiaConfigPath.
  12. // See "google_apis/test/data/gaia/all_urls.json" for a format example.
  13. extern const char kGaiaConfigContents[];
  14. // Specifies the domain of the SAPISID cookie. The default value is
  15. // "http://.google.com".
  16. extern const char kGoogleUrl[];
  17. // Specifies the path for GAIA authentication URL. The default value is
  18. // "https://accounts.google.com".
  19. extern const char kGaiaUrl[];
  20. // Specifies the backend server used for Google API calls.
  21. // "https://www.googleapis.com".
  22. extern const char kGoogleApisUrl[];
  23. // Specifies the backend server used for lso authentication calls.
  24. // "https://accounts.google.com".
  25. extern const char kLsoUrl[];
  26. // Specifies the backend server used for OAuth issue token calls.
  27. // "https://oauthaccountmanager.googleapis.com".
  28. extern const char kOAuthAccountManagerUrl[];
  29. // Specifies custom OAuth2 client id for testing purposes.
  30. extern const char kOAuth2ClientID[];
  31. // Specifies custom OAuth2 client secret for testing purposes.
  32. extern const char kOAuth2ClientSecret[];
  33. } // namespace switches
  34. #endif // GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_