summaryrefslogtreecommitdiffstats
path: root/google_apis/gaia/gaia_switches.h
blob: 727a35557a9f2e419829f7a048a9688537306ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_
#define GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_

namespace switches {

// Supplies custom client login to OAuth2 URL for testing purposes.
extern const char kClientLoginToOAuth2Url[];

// Specifies the path for GAIA authentication URL. The default value is
// "https://accounts.google.com".
extern const char kGaiaUrl[];

// Specifies the backend server used for Google API calls. The https:// prefix
// and the trailing slash should be omitted.
// The default value is "www.googleapis.com".
extern const char kGoogleApisHost[];

// Specifies the backend server used for lso authentication calls.
// "https://accounts.google.com".
extern const char kLsoUrl[];

// TODO(zelidrag): Get rid of all following since all URLs should be
// controlled only with --gaia-host, --lso-host and --google-apis-host.

// Specifies custom OAuth1 login scope for testing purposes.
extern const char kOAuth1LoginScope[];

// Specifies custom OAuth2 issue token URL for testing purposes.
extern const char kOAuth2IssueTokenUrl[];

// Specifies custom OAuth2 token URL for testing purposes.
extern const char kOAuth2TokenUrl[];

// Specifies custom OAuth user info URL for testing purposes.
extern const char kOAuthUserInfoUrl[];
}  // namespace switches

#endif  // GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_