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_GDATA_WAPI_FEED_LOADER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_LOADER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_LOADER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_LOADER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
11 #include "chrome/browser/chromeos/gdata/gdata_directory_service.h" | 11 #include "chrome/browser/chromeos/gdata/gdata_directory_service.h" |
12 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" | 12 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
13 | 13 |
| 14 class GURL; |
| 15 |
| 16 namespace base { |
| 17 class Value; |
| 18 } |
| 19 |
14 namespace gdata { | 20 namespace gdata { |
15 | 21 |
16 class DriveWebAppsRegistryInterface; | 22 class DriveWebAppsRegistryInterface; |
| 23 class DocumentFeed; |
17 class DocumentsServiceInterface; | 24 class DocumentsServiceInterface; |
18 class GDataCache; | 25 class GDataCache; |
19 struct GetDocumentsUiState; | 26 struct GetDocumentsUiState; |
20 | 27 |
21 // Set of parameters sent to LoadDocumentFeedCallback callback. | 28 // Set of parameters sent to LoadDocumentFeedCallback callback. |
22 struct GetDocumentsParams { | 29 struct GetDocumentsParams { |
23 GetDocumentsParams(int64 start_changestamp, | 30 GetDocumentsParams(int64 start_changestamp, |
24 int64 root_feed_changestamp, | 31 int64 root_feed_changestamp, |
25 std::vector<DocumentFeed*>* feed_list, | 32 std::vector<DocumentFeed*>* feed_list, |
26 bool should_fetch_multiple_feeds, | 33 bool should_fetch_multiple_feeds, |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 | 252 |
246 // Note: This should remain the last member so it'll be destroyed and | 253 // Note: This should remain the last member so it'll be destroyed and |
247 // invalidate its weak pointers before any other members are destroyed. | 254 // invalidate its weak pointers before any other members are destroyed. |
248 base::WeakPtrFactory<GDataWapiFeedLoader> weak_ptr_factory_; | 255 base::WeakPtrFactory<GDataWapiFeedLoader> weak_ptr_factory_; |
249 DISALLOW_COPY_AND_ASSIGN(GDataWapiFeedLoader); | 256 DISALLOW_COPY_AND_ASSIGN(GDataWapiFeedLoader); |
250 }; | 257 }; |
251 | 258 |
252 } // namespace gdata | 259 } // namespace gdata |
253 | 260 |
254 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_LOADER_H_ | 261 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_LOADER_H_ |
OLD | NEW |