Index: chrome/browser/chromeos/gdata/gdata_file_system.h |
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h |
index 9edd41ad29aa8d1a7dc1908140cd5e51ad5ada08..af5453b924561ddd7dcf82b57fabbbe818bf467c 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h |
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h |
@@ -144,6 +144,9 @@ class GDataFileSystem : public GDataFileSystemInterface, |
// Defines set of parameters sent to callback OnGetDocuments(). |
struct GetDocumentsParams; |
+ // Defines set of parameters sent to callback OnNotifyDocumentFeedFetched(). |
+ struct GetDocumentsUiState; |
+ |
// Defines set of parameters passes to intermediate callbacks during |
// execution of CreateDirectory() method. |
struct CreateDirectoryParams; |
@@ -639,6 +642,10 @@ class GDataFileSystem : public GDataFileSystemInterface, |
void NotifyDirectoryChanged(const FilePath& directory_path); |
void NotifyDocumentFeedFetched(int num_accumulated_entries); |
+ // Callback for handling UI updates caused by document fetching. |
+ void OnNotifyDocumentFeedFetched( |
+ base::WeakPtr<GetDocumentsUiState> ui_state); |
+ |
// Runs the callback and notifies that the initial load is finished. |
void RunAndNotifyInitialLoadFinished( |
const FindEntryCallback& callback, |