| 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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 const std::string& oauth1_login_scope() const; | 36 const std::string& oauth1_login_scope() const; |
| 37 const std::string& oauth_wrap_bridge_user_info_scope() const; | 37 const std::string& oauth_wrap_bridge_user_info_scope() const; |
| 38 | 38 |
| 39 const std::string& oauth2_chrome_client_id() const; | 39 const std::string& oauth2_chrome_client_id() const; |
| 40 const std::string& oauth2_chrome_client_secret() const; | 40 const std::string& oauth2_chrome_client_secret() const; |
| 41 const std::string& client_login_to_oauth2_url() const; | 41 const std::string& client_login_to_oauth2_url() const; |
| 42 const std::string& oauth2_auth_url() const; | 42 const std::string& oauth2_auth_url() const; |
| 43 const std::string& oauth2_token_url() const; | 43 const std::string& oauth2_token_url() const; |
| 44 const std::string& oauth2_issue_token_url() const; | 44 const std::string& oauth2_issue_token_url() const; |
| 45 const std::string& oauth2_token_info_url() const; |
| 45 const std::string& oauth2_revoke_url() const; | 46 const std::string& oauth2_revoke_url() const; |
| 46 | 47 |
| 47 const std::string& gaia_login_form_realm() const; | 48 const std::string& gaia_login_form_realm() const; |
| 48 | 49 |
| 49 private: | 50 private: |
| 50 GaiaUrls(); | 51 GaiaUrls(); |
| 51 ~GaiaUrls(); | 52 ~GaiaUrls(); |
| 52 | 53 |
| 53 friend struct DefaultSingletonTraits<GaiaUrls>; | 54 friend struct DefaultSingletonTraits<GaiaUrls>; |
| 54 | 55 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 73 | 74 |
| 74 std::string oauth1_login_scope_; | 75 std::string oauth1_login_scope_; |
| 75 std::string oauth_wrap_bridge_user_info_scope_; | 76 std::string oauth_wrap_bridge_user_info_scope_; |
| 76 | 77 |
| 77 std::string oauth2_chrome_client_id_; | 78 std::string oauth2_chrome_client_id_; |
| 78 std::string oauth2_chrome_client_secret_; | 79 std::string oauth2_chrome_client_secret_; |
| 79 std::string client_login_to_oauth2_url_; | 80 std::string client_login_to_oauth2_url_; |
| 80 std::string oauth2_auth_url_; | 81 std::string oauth2_auth_url_; |
| 81 std::string oauth2_token_url_; | 82 std::string oauth2_token_url_; |
| 82 std::string oauth2_issue_token_url_; | 83 std::string oauth2_issue_token_url_; |
| 84 std::string oauth2_token_info_url_; |
| 83 std::string oauth2_revoke_url_; | 85 std::string oauth2_revoke_url_; |
| 84 | 86 |
| 85 std::string gaia_login_form_realm_; | 87 std::string gaia_login_form_realm_; |
| 86 | 88 |
| 87 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); | 89 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); |
| 88 }; | 90 }; |
| 89 | 91 |
| 90 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ | 92 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ |
| OLD | NEW |