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