| 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 22 matching lines...) Expand all Loading... |
| 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 const std::string& client_oauth_url(); | 36 const std::string& client_oauth_url(); |
| 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_token_url(); | 41 const std::string& oauth2_token_url(); |
| 42 const std::string& oauth2_issue_token_url(); | 42 const std::string& oauth2_issue_token_url(); |
| 43 const std::string& oauth2_revoke_url(); |
| 43 | 44 |
| 44 const std::string& gaia_login_form_realm(); | 45 const std::string& gaia_login_form_realm(); |
| 45 | 46 |
| 46 private: | 47 private: |
| 47 GaiaUrls(); | 48 GaiaUrls(); |
| 48 ~GaiaUrls(); | 49 ~GaiaUrls(); |
| 49 | 50 |
| 50 friend struct DefaultSingletonTraits<GaiaUrls>; | 51 friend struct DefaultSingletonTraits<GaiaUrls>; |
| 51 | 52 |
| 52 std::string captcha_url_prefix_; | 53 std::string captcha_url_prefix_; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 69 | 70 |
| 70 std::string oauth1_login_scope_; | 71 std::string oauth1_login_scope_; |
| 71 std::string oauth_wrap_bridge_user_info_scope_; | 72 std::string oauth_wrap_bridge_user_info_scope_; |
| 72 std::string client_oauth_url_; | 73 std::string client_oauth_url_; |
| 73 | 74 |
| 74 std::string oauth2_chrome_client_id_; | 75 std::string oauth2_chrome_client_id_; |
| 75 std::string oauth2_chrome_client_secret_; | 76 std::string oauth2_chrome_client_secret_; |
| 76 std::string client_login_to_oauth2_url_; | 77 std::string client_login_to_oauth2_url_; |
| 77 std::string oauth2_token_url_; | 78 std::string oauth2_token_url_; |
| 78 std::string oauth2_issue_token_url_; | 79 std::string oauth2_issue_token_url_; |
| 80 std::string oauth2_revoke_url_; |
| 79 | 81 |
| 80 std::string gaia_login_form_realm_; | 82 std::string gaia_login_form_realm_; |
| 81 | 83 |
| 82 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); | 84 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); |
| 83 }; | 85 }; |
| 84 | 86 |
| 85 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ | 87 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ |
| OLD | NEW |