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/macros.h" |
10 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
11 #include "url/gurl.h" | 12 #include "url/gurl.h" |
12 | 13 |
13 // A signleton that provides all the URLs that are used for connecting to GAIA. | 14 // A signleton that provides all the URLs that are used for connecting to GAIA. |
14 class GaiaUrls { | 15 class GaiaUrls { |
15 public: | 16 public: |
16 static GaiaUrls* GetInstance(); | 17 static GaiaUrls* GetInstance(); |
17 | 18 |
18 // The URLs for different calls in the Google Accounts programmatic login API. | 19 // The URLs for different calls in the Google Accounts programmatic login API. |
19 const GURL& google_url() const; | 20 const GURL& google_url() const; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 GURL oauth2_token_info_url_; | 102 GURL oauth2_token_info_url_; |
102 GURL oauth2_revoke_url_; | 103 GURL oauth2_revoke_url_; |
103 GURL oauth2_iframe_url_; | 104 GURL oauth2_iframe_url_; |
104 | 105 |
105 GURL gaia_login_form_realm_; | 106 GURL gaia_login_form_realm_; |
106 | 107 |
107 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); | 108 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); |
108 }; | 109 }; |
109 | 110 |
110 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ | 111 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ |
OLD | NEW |