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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc

Issue 1545283002: Convert Pass()→std::move() in //chrome/browser/ui (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
Index: chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc b/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
index b2589caf35f861dff264006232708a6a3054b566..006c6813c1fcee3ebbf2d977173b99ae6126c0a0 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
@@ -4,9 +4,9 @@
#include <stddef.h>
#include <stdint.h>
-
#include <algorithm>
#include <stack>
+#include <utility>
#include "base/files/file_util.h"
#include "base/macros.h"
@@ -133,8 +133,9 @@ class DriveBackendSyncTest : public testing::Test,
nullptr, // drive_service
in_memory_env_.get()));
remote_sync_service_->AddServiceObserver(this);
- remote_sync_service_->InitializeForTesting(
- drive_service.Pass(), uploader.Pass(), nullptr /* sync_worker */);
+ remote_sync_service_->InitializeForTesting(std::move(drive_service),
+ std::move(uploader),
+ nullptr /* sync_worker */);
remote_sync_service_->SetSyncEnabled(true);
local_sync_service_->SetLocalChangeProcessor(remote_sync_service_.get());

Powered by Google App Engine
This is Rietveld 408576698