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_errorcode.h" | 12 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
12 #include "chrome/browser/chromeos/gdata/gdata_files.h" | |
13 | 13 |
14 namespace gdata { | 14 namespace gdata { |
15 | 15 |
16 class DriveWebAppsRegistryInterface; | 16 class DriveWebAppsRegistryInterface; |
17 class DocumentsServiceInterface; | 17 class DocumentsServiceInterface; |
18 class GDataCache; | 18 class GDataCache; |
19 struct GetDocumentsUiState; | 19 struct GetDocumentsUiState; |
20 | 20 |
21 // Set of parameters sent to LoadDocumentFeedCallback callback. | 21 // Set of parameters sent to LoadDocumentFeedCallback callback. |
22 struct GetDocumentsParams { | 22 struct GetDocumentsParams { |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 | 245 |
246 // 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 |
247 // invalidate its weak pointers before any other members are destroyed. | 247 // invalidate its weak pointers before any other members are destroyed. |
248 base::WeakPtrFactory<GDataWapiFeedLoader> weak_ptr_factory_; | 248 base::WeakPtrFactory<GDataWapiFeedLoader> weak_ptr_factory_; |
249 DISALLOW_COPY_AND_ASSIGN(GDataWapiFeedLoader); | 249 DISALLOW_COPY_AND_ASSIGN(GDataWapiFeedLoader); |
250 }; | 250 }; |
251 | 251 |
252 } // namespace gdata | 252 } // namespace gdata |
253 | 253 |
254 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_LOADER_H_ | 254 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_LOADER_H_ |
OLD | NEW |