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

Unified Diff: sync/internal_api/attachments/attachment_store_frontend_unittest.cc

Issue 1539843002: Convert Pass()→std::move() in sync/ (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: sync/internal_api/attachments/attachment_store_frontend_unittest.cc
diff --git a/sync/internal_api/attachments/attachment_store_frontend_unittest.cc b/sync/internal_api/attachments/attachment_store_frontend_unittest.cc
index 590eee83be24b8f354b228b22b2ece6f0f8cb6bb..d100012d48d74c68cea518ceb5a2270a8bdb22b1 100644
--- a/sync/internal_api/attachments/attachment_store_frontend_unittest.cc
+++ b/sync/internal_api/attachments/attachment_store_frontend_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/internal_api/public/attachments/attachment_store_frontend.h"
+#include <utility>
#include "base/bind.h"
#include "base/callback.h"
@@ -14,6 +14,7 @@
#include "sync/api/attachments/attachment.h"
#include "sync/api/attachments/attachment_id.h"
#include "sync/api/attachments/attachment_store_backend.h"
+#include "sync/internal_api/public/attachments/attachment_store_frontend.h"
Nicolas Zea 2015/12/18 23:46:54 keep up top
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
@@ -125,7 +126,7 @@ class AttachmentStoreFrontendTest : public testing::Test {
base::Bind(&AttachmentStoreFrontendTest::DtorCalled,
base::Unretained(this))));
attachment_store_frontend_ = new AttachmentStoreFrontend(
- backend.Pass(), base::ThreadTaskRunnerHandle::Get());
+ std::move(backend), base::ThreadTaskRunnerHandle::Get());
}
static void DoneWithResult(const AttachmentStore::Result& result) {

Powered by Google App Engine
This is Rietveld 408576698