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 | |
42 private: | 37 private: |
43 GaiaUrls(); | 38 GaiaUrls(); |
44 ~GaiaUrls(); | 39 ~GaiaUrls(); |
45 | 40 |
46 friend struct DefaultSingletonTraits<GaiaUrls>; | 41 friend struct DefaultSingletonTraits<GaiaUrls>; |
47 | 42 |
48 std::string captcha_url_prefix_; | 43 std::string captcha_url_prefix_; |
49 | 44 |
50 std::string gaia_origin_url_; | 45 std::string gaia_origin_url_; |
51 std::string client_login_url_; | 46 std::string client_login_url_; |
52 std::string issue_auth_token_url_; | 47 std::string issue_auth_token_url_; |
53 std::string get_user_info_url_; | 48 std::string get_user_info_url_; |
54 std::string token_auth_url_; | 49 std::string token_auth_url_; |
55 std::string merge_session_url_; | 50 std::string merge_session_url_; |
56 std::string get_oauth_token_url_; | 51 std::string get_oauth_token_url_; |
57 std::string oauth_get_access_token_url_; | 52 std::string oauth_get_access_token_url_; |
58 std::string oauth_wrap_bridge_url_; | 53 std::string oauth_wrap_bridge_url_; |
59 std::string oauth_user_info_url_; | 54 std::string oauth_user_info_url_; |
60 std::string oauth_revoke_token_url_; | 55 std::string oauth_revoke_token_url_; |
61 std::string oauth1_login_url_; | 56 std::string oauth1_login_url_; |
62 | 57 |
63 std::string oauth1_login_scope_; | 58 std::string oauth1_login_scope_; |
64 std::string oauth_wrap_bridge_user_info_scope_; | 59 std::string oauth_wrap_bridge_user_info_scope_; |
65 | 60 |
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 | |
71 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); | 61 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); |
72 }; | 62 }; |
73 | 63 |
74 #endif // CHROME_COMMON_NET_GAIA_GAIA_URLS_H_ | 64 #endif // CHROME_COMMON_NET_GAIA_GAIA_URLS_H_ |
OLD | NEW |