| 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_OAUTH2_API_CALL_FLOW_H_ | 5 #ifndef GOOGLE_APIS_GAIA_OAUTH2_API_CALL_FLOW_H_ |
| 6 #define GOOGLE_APIS_GAIA_OAUTH2_API_CALL_FLOW_H_ | 6 #define GOOGLE_APIS_GAIA_OAUTH2_API_CALL_FLOW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/gtest_prod_util.h" | |
| 11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 12 #include "net/url_request/url_fetcher.h" | 11 #include "net/url_request/url_fetcher.h" |
| 13 #include "net/url_request/url_fetcher_delegate.h" | 12 #include "net/url_request/url_fetcher_delegate.h" |
| 14 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 15 | 14 |
| 16 class GoogleServiceAuthError; | 15 class GoogleServiceAuthError; |
| 17 class OAuth2MintTokenFlowTest; | 16 class OAuth2MintTokenFlowTest; |
| 18 | 17 |
| 19 namespace net { | 18 namespace net { |
| 20 class URLFetcher; | 19 class URLFetcher; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 void BeginApiCall(); | 77 void BeginApiCall(); |
| 79 void EndApiCall(const net::URLFetcher* source); | 78 void EndApiCall(const net::URLFetcher* source); |
| 80 | 79 |
| 81 State state_; | 80 State state_; |
| 82 scoped_ptr<net::URLFetcher> url_fetcher_; | 81 scoped_ptr<net::URLFetcher> url_fetcher_; |
| 83 | 82 |
| 84 DISALLOW_COPY_AND_ASSIGN(OAuth2ApiCallFlow); | 83 DISALLOW_COPY_AND_ASSIGN(OAuth2ApiCallFlow); |
| 85 }; | 84 }; |
| 86 | 85 |
| 87 #endif // GOOGLE_APIS_GAIA_OAUTH2_API_CALL_FLOW_H_ | 86 #endif // GOOGLE_APIS_GAIA_OAUTH2_API_CALL_FLOW_H_ |
| OLD | NEW |