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

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

Issue 10634020: [FileManager] Do drive search incrementally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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 16dee0ad51fccd3d8d7bf4f473577244f8424b31..2316878d4a68127a715002ca170542f7a146d3bf 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -109,6 +109,7 @@ class GDataWapiFeedLoader {
// after we retrieve first feed chunk.
// If invoked as a part of content search, query will be set in
// |search_query|.
+ // If |feed_to_load| is set, this is feed url that will be used to load feed.
void LoadFromServer(
ContentOrigin initial_origin,
int start_changestamp,
@@ -116,6 +117,7 @@ class GDataWapiFeedLoader {
bool should_fetch_multiple_feeds,
const FilePath& search_file_path,
const std::string& search_query,
+ const GURL& feed_to_load,
const std::string& directory_resource_id,
const FindEntryCallback& entry_found_callback,
const LoadDocumentFeedCallback& feed_load_callback);
@@ -220,6 +222,7 @@ class GDataFileSystem : public GDataFileSystemInterface,
const std::string& resource_id,
const GetEntryInfoWithFilePathCallback& callback) OVERRIDE;
virtual void Search(const std::string& search_query,
+ const GURL& next_feed,
const SearchCallback& callback) OVERRIDE;
virtual void TransferFileFromRemoteToLocal(
const FilePath& remote_src_file_path,
@@ -822,6 +825,7 @@ class GDataFileSystem : public GDataFileSystemInterface,
// The following functions are used to forward calls to asynchronous public
// member functions to UI thread.
void SearchAsyncOnUIThread(const std::string& search_query,
+ const GURL& next_feed,
const SearchCallback& callback);
void OpenFileOnUIThread(const FilePath& file_path,
const OpenFileCallback& callback);
« no previous file with comments | « chrome/browser/chromeos/extensions/file_browser_private_api.cc ('k') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698