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 CHROME_BROWSER_CHROMEOS_GDATA_OPERATIONS_BASE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_OPERATIONS_BASE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_GDATA_OPERATIONS_BASE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_OPERATIONS_BASE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" | 12 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
13 #include "chrome/browser/chromeos/gdata/operation_registry.h" | 13 #include "chrome/browser/chromeos/gdata/operation_registry.h" |
14 #include "chrome/common/net/gaia/oauth2_access_token_consumer.h" | 14 #include "google_apis/gaia/oauth2_access_token_consumer.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 #include "net/http/http_response_headers.h" | 16 #include "net/http/http_response_headers.h" |
17 #include "net/url_request/url_fetcher.h" | 17 #include "net/url_request/url_fetcher.h" |
18 #include "net/url_request/url_fetcher_delegate.h" | 18 #include "net/url_request/url_fetcher_delegate.h" |
19 | 19 |
20 class OAuth2AccessTokenFetcher; | 20 class OAuth2AccessTokenFetcher; |
21 | 21 |
22 namespace gdata { | 22 namespace gdata { |
23 | 23 |
24 //================================ AuthOperation =============================== | 24 //================================ AuthOperation =============================== |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 | 225 |
226 // Note: This should remain the last member so it'll be destroyed and | 226 // Note: This should remain the last member so it'll be destroyed and |
227 // invalidate its weak pointers before any other members are destroyed. | 227 // invalidate its weak pointers before any other members are destroyed. |
228 base::WeakPtrFactory<GetDataOperation> weak_ptr_factory_; | 228 base::WeakPtrFactory<GetDataOperation> weak_ptr_factory_; |
229 DISALLOW_COPY_AND_ASSIGN(GetDataOperation); | 229 DISALLOW_COPY_AND_ASSIGN(GetDataOperation); |
230 }; | 230 }; |
231 | 231 |
232 } // namespace gdata | 232 } // namespace gdata |
233 | 233 |
234 #endif // CHROME_BROWSER_CHROMEOS_GDATA_OPERATIONS_BASE_H_ | 234 #endif // CHROME_BROWSER_CHROMEOS_GDATA_OPERATIONS_BASE_H_ |
OLD | NEW |