| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 236 |
| 237 // Note: This should remain the last member so it'll be destroyed and | 237 // Note: This should remain the last member so it'll be destroyed and |
| 238 // invalidate its weak pointers before any other members are destroyed. | 238 // invalidate its weak pointers before any other members are destroyed. |
| 239 base::WeakPtrFactory<GDataWapiFeedLoader> weak_ptr_factory_; | 239 base::WeakPtrFactory<GDataWapiFeedLoader> weak_ptr_factory_; |
| 240 DISALLOW_COPY_AND_ASSIGN(GDataWapiFeedLoader); | 240 DISALLOW_COPY_AND_ASSIGN(GDataWapiFeedLoader); |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 } // namespace gdata | 243 } // namespace gdata |
| 244 | 244 |
| 245 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_LOADER_H_ | 245 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_LOADER_H_ |
| OLD | NEW |