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

Unified Diff: google_apis/drive/files_list_request_runner.cc

Issue 1547233002: Convert Pass()→std::move() in //google_apis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « google_apis/drive/drive_api_requests_unittest.cc ('k') | google_apis/drive/request_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/files_list_request_runner.cc
diff --git a/google_apis/drive/files_list_request_runner.cc b/google_apis/drive/files_list_request_runner.cc
index c3588b745f3001a48077b3c45df24271bb8a5d22..0de92ab2df3514d8c75727813bd632257af064c6 100644
--- a/google_apis/drive/files_list_request_runner.cc
+++ b/google_apis/drive/files_list_request_runner.cc
@@ -4,6 +4,8 @@
#include "google_apis/drive/files_list_request_runner.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/sparse_histogram.h"
@@ -73,7 +75,7 @@ void FilesListRequestRunner::OnCompleted(int max_results,
return;
}
- callback.Run(error, entry.Pass());
+ callback.Run(error, std::move(entry));
}
void FilesListRequestRunner::SetRequestCompletedCallbackForTesting(
« no previous file with comments | « google_apis/drive/drive_api_requests_unittest.cc ('k') | google_apis/drive/request_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698