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

Unified Diff: chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc

Issue 1579863003: Convert Pass()→std::move() for Mac build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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/media_galleries/fileapi/iphoto_file_util_unittest.cc
diff --git a/chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc b/chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc
index 0aa61c8488075fa0fca6ef8c83f1efaecd805ed8..c912ef5b70f5cbe4800f0cdd45ecfb525240696a 100644
--- a/chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc
+++ b/chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc
@@ -2,9 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "chrome/browser/media_galleries/fileapi/iphoto_file_util.h"
+
#include <map>
#include <set>
#include <string>
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -18,7 +21,6 @@
#include "base/thread_task_runner_handle.h"
#include "base/time/time.h"
#include "chrome/browser/media_galleries/fileapi/iphoto_data_provider.h"
-#include "chrome/browser/media_galleries/fileapi/iphoto_file_util.h"
#include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
#include "chrome/browser/media_galleries/fileapi/media_path_filter.h"
#include "chrome/browser/media_galleries/imported_media_gallery_registry.h"
@@ -213,11 +215,8 @@ class IPhotoFileUtilTest : public testing::Test {
base::ThreadTaskRunnerHandle::Get().get(),
base::ThreadTaskRunnerHandle::Get().get(),
storage::ExternalMountPoints::CreateRefCounted().get(),
- storage_policy.get(),
- NULL,
- additional_providers.Pass(),
- std::vector<storage::URLRequestAutoMountHandler>(),
- profile_dir_.path(),
+ storage_policy.get(), NULL, std::move(additional_providers),
+ std::vector<storage::URLRequestAutoMountHandler>(), profile_dir_.path(),
content::CreateAllowFileAccessOptions());
}
« no previous file with comments | « chrome/browser/media_galleries/fileapi/iphoto_file_util.cc ('k') | chrome/browser/media_galleries/fileapi/itunes_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698