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 25 matching lines...) Expand all Loading... |
36 const GURL& add_account_url() const; | 36 const GURL& add_account_url() const; |
37 | 37 |
38 const std::string& oauth2_chrome_client_id() const; | 38 const std::string& oauth2_chrome_client_id() const; |
39 const std::string& oauth2_chrome_client_secret() const; | 39 const std::string& oauth2_chrome_client_secret() const; |
40 const GURL& client_login_to_oauth2_url() const; | 40 const GURL& client_login_to_oauth2_url() const; |
41 const GURL& oauth2_auth_url() const; | 41 const GURL& oauth2_auth_url() const; |
42 const GURL& oauth2_token_url() const; | 42 const GURL& oauth2_token_url() const; |
43 const GURL& oauth2_issue_token_url() const; | 43 const GURL& oauth2_issue_token_url() const; |
44 const GURL& oauth2_token_info_url() const; | 44 const GURL& oauth2_token_info_url() const; |
45 const GURL& oauth2_revoke_url() const; | 45 const GURL& oauth2_revoke_url() const; |
| 46 const GURL& oauth2_iframe_url() const; |
46 | 47 |
47 const GURL& gaia_login_form_realm() const; | 48 const GURL& gaia_login_form_realm() const; |
48 | 49 |
49 GURL ListAccountsURLWithSource(const std::string& source); | 50 GURL ListAccountsURLWithSource(const std::string& source); |
50 GURL GetCheckConnectionInfoURLWithSource(const std::string& source); | 51 GURL GetCheckConnectionInfoURLWithSource(const std::string& source); |
51 | 52 |
52 private: | 53 private: |
53 GaiaUrls(); | 54 GaiaUrls(); |
54 ~GaiaUrls(); | 55 ~GaiaUrls(); |
55 | 56 |
(...skipping 26 matching lines...) Expand all Loading... |
82 | 83 |
83 std::string oauth2_chrome_client_id_; | 84 std::string oauth2_chrome_client_id_; |
84 std::string oauth2_chrome_client_secret_; | 85 std::string oauth2_chrome_client_secret_; |
85 | 86 |
86 GURL client_login_to_oauth2_url_; | 87 GURL client_login_to_oauth2_url_; |
87 GURL oauth2_auth_url_; | 88 GURL oauth2_auth_url_; |
88 GURL oauth2_token_url_; | 89 GURL oauth2_token_url_; |
89 GURL oauth2_issue_token_url_; | 90 GURL oauth2_issue_token_url_; |
90 GURL oauth2_token_info_url_; | 91 GURL oauth2_token_info_url_; |
91 GURL oauth2_revoke_url_; | 92 GURL oauth2_revoke_url_; |
| 93 GURL oauth2_iframe_url_; |
92 | 94 |
93 GURL gaia_login_form_realm_; | 95 GURL gaia_login_form_realm_; |
94 | 96 |
95 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); | 97 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); |
96 }; | 98 }; |
97 | 99 |
98 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ | 100 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ |
OLD | NEW |