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

Unified Diff: chrome/browser/sync_file_system/sync_process_runner_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
« no previous file with comments | « chrome/browser/sync_file_system/sync_process_runner.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/sync_process_runner_unittest.cc
diff --git a/chrome/browser/sync_file_system/sync_process_runner_unittest.cc b/chrome/browser/sync_file_system/sync_process_runner_unittest.cc
index d1231421ed843a43d210606147a3c8076d69e393..3f73df8ba2b402e212d65bec0d1c461f8939e2d9 100644
--- a/chrome/browser/sync_file_system/sync_process_runner_unittest.cc
+++ b/chrome/browser/sync_file_system/sync_process_runner_unittest.cc
@@ -6,8 +6,8 @@
#include <stddef.h>
#include <stdint.h>
-
#include <queue>
+#include <utility>
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -85,10 +85,10 @@ class FakeSyncProcessRunner : public SyncProcessRunner {
scoped_ptr<TimerHelper> timer_helper,
size_t max_parallel_task)
: SyncProcessRunner("FakeSyncProcess",
- client, timer_helper.Pass(),
+ client,
+ std::move(timer_helper),
max_parallel_task),
- max_parallel_task_(max_parallel_task) {
- }
+ max_parallel_task_(max_parallel_task) {}
void StartSync(const SyncStatusCallback& callback) override {
EXPECT_LT(running_tasks_.size(), max_parallel_task_);
« no previous file with comments | « chrome/browser/sync_file_system/sync_process_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698