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

Unified Diff: google_apis/drive/drive_api_requests.h

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_parser.cc ('k') | google_apis/drive/drive_api_requests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/drive_api_requests.h
diff --git a/google_apis/drive/drive_api_requests.h b/google_apis/drive/drive_api_requests.h
index b34f970229897c481965cc321497010b6d2146b8..23555762cabf0a47c4a8ba0ed7b2ed45ccc0b3bc 100644
--- a/google_apis/drive/drive_api_requests.h
+++ b/google_apis/drive/drive_api_requests.h
@@ -6,8 +6,8 @@
#define GOOGLE_APIS_DRIVE_DRIVE_API_REQUESTS_H_
#include <stdint.h>
-
#include <string>
+#include <utility>
#include <vector>
#include "base/callback_forward.h"
@@ -169,7 +169,7 @@ class DriveApiDataRequest : public DriveApiPartialFieldRequest {
void OnDataParsed(DriveApiErrorCode error, scoped_ptr<DataType> value) {
if (!value)
error = DRIVE_PARSE_ERROR;
- callback_.Run(error, value.Pass());
+ callback_.Run(error, std::move(value));
OnProcessURLFetchResultsComplete();
}
« no previous file with comments | « google_apis/drive/drive_api_parser.cc ('k') | google_apis/drive/drive_api_requests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698