| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "chrome/common/net/url_fetcher.h" | 11 #include "content/common/url_fetcher.h" |
| 12 | 12 |
| 13 class GURL; | 13 class GURL; |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 | 16 |
| 17 // The success code specified by the HTTP spec. | 17 // The success code specified by the HTTP spec. |
| 18 extern const int kHttpSuccess; | 18 extern const int kHttpSuccess; |
| 19 | 19 |
| 20 class AuthResponseHandler { | 20 class AuthResponseHandler { |
| 21 public: | 21 public: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 // The URLs for different calls in the Google Accounts programmatic login API. | 36 // The URLs for different calls in the Google Accounts programmatic login API. |
| 37 static const char kClientLoginUrl[]; | 37 static const char kClientLoginUrl[]; |
| 38 static const char kIssueAuthTokenUrl[]; | 38 static const char kIssueAuthTokenUrl[]; |
| 39 static const char kTokenAuthUrl[]; | 39 static const char kTokenAuthUrl[]; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace chromeos | 42 } // namespace chromeos |
| 43 | 43 |
| 44 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ | 44 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_RESPONSE_HANDLER_H_ |
| OLD | NEW |