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 7f1f27e26b6c1e95fca1eae17d992baefee90a24..55b93045f61acb269b4c97a63680ce59d4015e54 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
@@ -108,7 +108,22 @@ void DocumentsService::GetDocuments(const GURL& url, |
directory_resource_id, |
callback); |
if (!url.is_empty()) |
- operation->SetUrl(url); |
+ operation->SetURL(url); |
+ runner_->StartOperationWithRetry(operation); |
+} |
+ |
+void DocumentsService::GetChangelist(const GURL& url, |
+ int64 start_changestamp, |
+ const GetDataCallback& callback) { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ VLOG(1) << "GetChangeList: start_changestamp = " << start_changestamp; |
+ |
+ GetChangelistOperation* operation = |
+ new GetChangelistOperation(operation_registry(), |
+ start_changestamp, |
+ callback); |
+ if (!url.is_empty()) |
+ operation->SetURL(url); |
runner_->StartOperationWithRetry(operation); |
} |