Index: chrome/browser/chromeos/gdata/gdata_documents_service.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_documents_service.cc b/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
index 1f548d92b4cbea3d7ecdebe0727bb4b48b4a5e8b..05b1c54a00a6f09cd8ee658c198ad593c6655223 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
@@ -111,6 +111,19 @@ void DocumentsService::GetDocuments(const GURL& url, |
runner_->StartOperationWithRetry(operation); |
} |
+void DocumentsService::GetFilelist(const GURL& url, |
+ const std::string& search_query, |
+ const GetDataCallback& callback) { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ |
+ GetFilelistOperation* operation = |
+ new GetFilelistOperation(operation_registry(), |
+ url, |
+ search_query, |
+ callback); |
+ runner_->StartOperationWithRetry(operation); |
+} |
+ |
void DocumentsService::GetChangelist(const GURL& url, |
int64 start_changestamp, |
const GetDataCallback& callback) { |
@@ -135,6 +148,17 @@ void DocumentsService::GetDocumentEntry(const std::string& resource_id, |
runner_->StartOperationWithRetry(operation); |
} |
+void DocumentsService::GetFile(const std::string& file_id, |
+ const GetDataCallback& callback) { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ |
+ GetFileOperation* operation = |
+ new GetFileOperation(operation_registry(), |
+ file_id, |
+ callback); |
+ runner_->StartOperationWithRetry(operation); |
+} |
+ |
void DocumentsService::GetAccountMetadata(const GetDataCallback& callback) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |