OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_COMMON_NET_GAIA_GAIA_URLS_H_ | 5 #ifndef CHROME_COMMON_NET_GAIA_GAIA_URLS_H_ |
6 #define CHROME_COMMON_NET_GAIA_GAIA_URLS_H_ | 6 #define CHROME_COMMON_NET_GAIA_GAIA_URLS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 const std::string& get_oauth_token_url(); | 27 const std::string& get_oauth_token_url(); |
28 const std::string& oauth_get_access_token_url(); | 28 const std::string& oauth_get_access_token_url(); |
29 const std::string& oauth_wrap_bridge_url(); | 29 const std::string& oauth_wrap_bridge_url(); |
30 const std::string& oauth_user_info_url(); | 30 const std::string& oauth_user_info_url(); |
31 const std::string& oauth_revoke_token_url(); | 31 const std::string& oauth_revoke_token_url(); |
32 const std::string& oauth1_login_url(); | 32 const std::string& oauth1_login_url(); |
33 | 33 |
34 const std::string& oauth1_login_scope(); | 34 const std::string& oauth1_login_scope(); |
35 const std::string& oauth_wrap_bridge_user_info_scope(); | 35 const std::string& oauth_wrap_bridge_user_info_scope(); |
36 | 36 |
| 37 const std::string& oauth2_chrome_client_id(); |
| 38 const std::string& oauth2_chrome_client_secret(); |
| 39 const std::string& client_login_to_oauth2_url(); |
| 40 const std::string& oauth2_token_url(); |
| 41 |
37 private: | 42 private: |
38 GaiaUrls(); | 43 GaiaUrls(); |
39 ~GaiaUrls(); | 44 ~GaiaUrls(); |
40 | 45 |
41 friend struct DefaultSingletonTraits<GaiaUrls>; | 46 friend struct DefaultSingletonTraits<GaiaUrls>; |
42 | 47 |
43 std::string captcha_url_prefix_; | 48 std::string captcha_url_prefix_; |
44 | 49 |
45 std::string gaia_origin_url_; | 50 std::string gaia_origin_url_; |
46 std::string client_login_url_; | 51 std::string client_login_url_; |
47 std::string issue_auth_token_url_; | 52 std::string issue_auth_token_url_; |
48 std::string get_user_info_url_; | 53 std::string get_user_info_url_; |
49 std::string token_auth_url_; | 54 std::string token_auth_url_; |
50 std::string merge_session_url_; | 55 std::string merge_session_url_; |
51 std::string get_oauth_token_url_; | 56 std::string get_oauth_token_url_; |
52 std::string oauth_get_access_token_url_; | 57 std::string oauth_get_access_token_url_; |
53 std::string oauth_wrap_bridge_url_; | 58 std::string oauth_wrap_bridge_url_; |
54 std::string oauth_user_info_url_; | 59 std::string oauth_user_info_url_; |
55 std::string oauth_revoke_token_url_; | 60 std::string oauth_revoke_token_url_; |
56 std::string oauth1_login_url_; | 61 std::string oauth1_login_url_; |
57 | 62 |
58 std::string oauth1_login_scope_; | 63 std::string oauth1_login_scope_; |
59 std::string oauth_wrap_bridge_user_info_scope_; | 64 std::string oauth_wrap_bridge_user_info_scope_; |
60 | 65 |
| 66 std::string oauth2_chrome_client_id_; |
| 67 std::string oauth2_chrome_client_secret_; |
| 68 std::string client_login_to_oauth2_url_; |
| 69 std::string oauth2_token_url_; |
| 70 |
61 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); | 71 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); |
62 }; | 72 }; |
63 | 73 |
64 #endif // CHROME_COMMON_NET_GAIA_GAIA_URLS_H_ | 74 #endif // CHROME_COMMON_NET_GAIA_GAIA_URLS_H_ |
OLD | NEW |