OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef GOOGLE_APIS_GAIA_GAIA_URLS_H_ | 5 #ifndef GOOGLE_APIS_GAIA_GAIA_URLS_H_ |
6 #define GOOGLE_APIS_GAIA_GAIA_URLS_H_ | 6 #define GOOGLE_APIS_GAIA_GAIA_URLS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 const GURL& issue_auth_token_url() const; | 25 const GURL& issue_auth_token_url() const; |
26 const GURL& get_user_info_url() const; | 26 const GURL& get_user_info_url() const; |
27 const GURL& token_auth_url() const; | 27 const GURL& token_auth_url() const; |
28 const GURL& merge_session_url() const; | 28 const GURL& merge_session_url() const; |
29 const GURL& get_oauth_token_url() const; | 29 const GURL& get_oauth_token_url() const; |
30 const GURL& oauth_get_access_token_url() const; | 30 const GURL& oauth_get_access_token_url() const; |
31 const GURL& oauth_wrap_bridge_url() const; | 31 const GURL& oauth_wrap_bridge_url() const; |
32 const GURL& oauth_user_info_url() const; | 32 const GURL& oauth_user_info_url() const; |
33 const GURL& oauth_revoke_token_url() const; | 33 const GURL& oauth_revoke_token_url() const; |
34 const GURL& oauth1_login_url() const; | 34 const GURL& oauth1_login_url() const; |
35 const GURL& list_accounts_url() const; | |
36 const GURL& embedded_signin_url() const; | 35 const GURL& embedded_signin_url() const; |
37 const GURL& add_account_url() const; | 36 const GURL& add_account_url() const; |
38 const GURL& get_check_connection_info_url() const; | |
39 | 37 |
40 const std::string& oauth2_chrome_client_id() const; | 38 const std::string& oauth2_chrome_client_id() const; |
41 const std::string& oauth2_chrome_client_secret() const; | 39 const std::string& oauth2_chrome_client_secret() const; |
42 const GURL& client_login_to_oauth2_url() const; | 40 const GURL& client_login_to_oauth2_url() const; |
43 const GURL& oauth2_auth_url() const; | 41 const GURL& oauth2_auth_url() const; |
44 const GURL& oauth2_token_url() const; | 42 const GURL& oauth2_token_url() const; |
45 const GURL& oauth2_issue_token_url() const; | 43 const GURL& oauth2_issue_token_url() const; |
46 const GURL& oauth2_token_info_url() const; | 44 const GURL& oauth2_token_info_url() const; |
47 const GURL& oauth2_revoke_url() const; | 45 const GURL& oauth2_revoke_url() const; |
48 | 46 |
49 const GURL& gaia_login_form_realm() const; | 47 const GURL& gaia_login_form_realm() const; |
50 | 48 |
| 49 GURL ListAccountsURLWithSource(const std::string& source); |
| 50 GURL GetCheckConnectionInfoURLWithSource(const std::string& source); |
| 51 |
51 private: | 52 private: |
52 GaiaUrls(); | 53 GaiaUrls(); |
53 ~GaiaUrls(); | 54 ~GaiaUrls(); |
54 | 55 |
55 friend struct DefaultSingletonTraits<GaiaUrls>; | 56 friend struct DefaultSingletonTraits<GaiaUrls>; |
56 | 57 |
57 GURL gaia_url_; | 58 GURL gaia_url_; |
58 GURL captcha_base_url_; | 59 GURL captcha_base_url_; |
59 | 60 |
60 GURL lso_origin_url_; | 61 GURL lso_origin_url_; |
(...skipping 27 matching lines...) Expand all Loading... |
88 GURL oauth2_issue_token_url_; | 89 GURL oauth2_issue_token_url_; |
89 GURL oauth2_token_info_url_; | 90 GURL oauth2_token_info_url_; |
90 GURL oauth2_revoke_url_; | 91 GURL oauth2_revoke_url_; |
91 | 92 |
92 GURL gaia_login_form_realm_; | 93 GURL gaia_login_form_realm_; |
93 | 94 |
94 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); | 95 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); |
95 }; | 96 }; |
96 | 97 |
97 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ | 98 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ |
OLD | NEW |