aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/googledrive/googledrivelistdirectoryrequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud/googledrive/googledrivelistdirectoryrequest.cpp')
-rw-r--r--backends/cloud/googledrive/googledrivelistdirectoryrequest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/cloud/googledrive/googledrivelistdirectoryrequest.cpp b/backends/cloud/googledrive/googledrivelistdirectoryrequest.cpp
index 3387b43418..f645041eb3 100644
--- a/backends/cloud/googledrive/googledrivelistdirectoryrequest.cpp
+++ b/backends/cloud/googledrive/googledrivelistdirectoryrequest.cpp
@@ -75,7 +75,7 @@ void GoogleDriveListDirectoryRequest::idResolveErrorCallback(Networking::ErrorRe
void GoogleDriveListDirectoryRequest::listNextDirectory() {
if (_directoriesQueue.empty()) {
- finishSuccess(_files);
+ finishListing(_files);
return;
}
@@ -120,7 +120,7 @@ void GoogleDriveListDirectoryRequest::restart() { start(); }
Common::String GoogleDriveListDirectoryRequest::date() const { return _date; }
-void GoogleDriveListDirectoryRequest::finishSuccess(Common::Array<StorageFile> &files) {
+void GoogleDriveListDirectoryRequest::finishListing(Common::Array<StorageFile> &files) {
Request::finishSuccess();
if (_listDirectoryCallback) (*_listDirectoryCallback)(Storage::ListDirectoryResponse(this, files));
}