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 20 matching lines...) Expand all Loading... |
31 const std::string& oauth_user_info_url(); | 31 const std::string& oauth_user_info_url(); |
32 const std::string& oauth_revoke_token_url(); | 32 const std::string& oauth_revoke_token_url(); |
33 const std::string& oauth1_login_url(); | 33 const std::string& oauth1_login_url(); |
34 | 34 |
35 const std::string& oauth1_login_scope(); | 35 const std::string& oauth1_login_scope(); |
36 const std::string& oauth_wrap_bridge_user_info_scope(); | 36 const std::string& oauth_wrap_bridge_user_info_scope(); |
37 | 37 |
38 const std::string& oauth2_chrome_client_id(); | 38 const std::string& oauth2_chrome_client_id(); |
39 const std::string& oauth2_chrome_client_secret(); | 39 const std::string& oauth2_chrome_client_secret(); |
40 const std::string& client_login_to_oauth2_url(); | 40 const std::string& client_login_to_oauth2_url(); |
| 41 const std::string& oauth2_auth_url(); |
41 const std::string& oauth2_token_url(); | 42 const std::string& oauth2_token_url(); |
42 const std::string& oauth2_issue_token_url(); | 43 const std::string& oauth2_issue_token_url(); |
43 const std::string& oauth2_revoke_url(); | 44 const std::string& oauth2_revoke_url(); |
44 | 45 |
45 const std::string& gaia_login_form_realm(); | 46 const std::string& gaia_login_form_realm(); |
46 | 47 |
47 private: | 48 private: |
48 GaiaUrls(); | 49 GaiaUrls(); |
49 ~GaiaUrls(); | 50 ~GaiaUrls(); |
50 | 51 |
(...skipping 17 matching lines...) Expand all Loading... |
68 std::string oauth_user_info_url_; | 69 std::string oauth_user_info_url_; |
69 std::string oauth_revoke_token_url_; | 70 std::string oauth_revoke_token_url_; |
70 std::string oauth1_login_url_; | 71 std::string oauth1_login_url_; |
71 | 72 |
72 std::string oauth1_login_scope_; | 73 std::string oauth1_login_scope_; |
73 std::string oauth_wrap_bridge_user_info_scope_; | 74 std::string oauth_wrap_bridge_user_info_scope_; |
74 | 75 |
75 std::string oauth2_chrome_client_id_; | 76 std::string oauth2_chrome_client_id_; |
76 std::string oauth2_chrome_client_secret_; | 77 std::string oauth2_chrome_client_secret_; |
77 std::string client_login_to_oauth2_url_; | 78 std::string client_login_to_oauth2_url_; |
| 79 std::string oauth2_auth_url_; |
78 std::string oauth2_token_url_; | 80 std::string oauth2_token_url_; |
79 std::string oauth2_issue_token_url_; | 81 std::string oauth2_issue_token_url_; |
80 std::string oauth2_revoke_url_; | 82 std::string oauth2_revoke_url_; |
81 | 83 |
82 std::string gaia_login_form_realm_; | 84 std::string gaia_login_form_realm_; |
83 | 85 |
84 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); | 86 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); |
85 }; | 87 }; |
86 | 88 |
87 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ | 89 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ |
OLD | NEW |