Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system.h

Issue 10827098: Update the number of fetched files more frequently. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update the number of fetched files more frequently. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..9d648a0f46ec675ee079f3ff0e69eabf6d002af7 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,9 @@ 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(GetDocumentsUIState* ui_state);
+
// Runs the callback and notifies that the initial load is finished.
void RunAndNotifyInitialLoadFinished(
const FindEntryCallback& callback,
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698