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: sync/internal_api/public/attachments/task_queue.h

Issue 1539843002: Convert Pass()→std::move() in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up 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 | « sync/internal_api/protocol_event_buffer.cc ('k') | sync/internal_api/public/base/progress_marker_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/attachments/task_queue.h
diff --git a/sync/internal_api/public/attachments/task_queue.h b/sync/internal_api/public/attachments/task_queue.h
index 0d76b91df212e98672603e65db3e355e50d01f58..e8ff1a0487cab57c478442712eda703dc8e9cc5d 100644
--- a/sync/internal_api/public/attachments/task_queue.h
+++ b/sync/internal_api/public/attachments/task_queue.h
@@ -6,9 +6,9 @@
#define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_TASK_QUEUE_H_
#include <stddef.h>
-
#include <deque>
#include <set>
+#include <utility>
#include "base/bind.h"
#include "base/callback.h"
@@ -235,7 +235,7 @@ template <typename T>
void TaskQueue<T>::SetTimerForTest(scoped_ptr<base::Timer> timer) {
DCHECK(CalledOnValidThread());
DCHECK(timer.get());
- backoff_timer_ = timer.Pass();
+ backoff_timer_ = std::move(timer);
}
template <typename T>
« no previous file with comments | « sync/internal_api/protocol_event_buffer.cc ('k') | sync/internal_api/public/base/progress_marker_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698