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

Unified Diff: content/public/test/test_file_system_context.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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 | « content/public/test/test_file_system_backend.cc ('k') | content/public/test/test_mojo_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_file_system_context.cc
diff --git a/content/public/test/test_file_system_context.cc b/content/public/test/test_file_system_context.cc
index 7f602507ddd173a58ba7c9c54b81f87ea1848718..7024985074edeba90c4de8d8ca5b50cd17c6f69f 100644
--- a/content/public/test/test_file_system_context.cc
+++ b/content/public/test/test_file_system_context.cc
@@ -4,6 +4,8 @@
#include "content/public/test/test_file_system_context.h"
+#include <utility>
+
#include "base/memory/scoped_vector.h"
#include "base/thread_task_runner_handle.h"
#include "content/public/test/mock_special_storage_policy.h"
@@ -22,7 +24,7 @@ storage::FileSystemContext* CreateFileSystemContextForTesting(
additional_providers.push_back(new TestFileSystemBackend(
base::ThreadTaskRunnerHandle::Get().get(), base_path));
return CreateFileSystemContextWithAdditionalProvidersForTesting(
- quota_manager_proxy, additional_providers.Pass(), base_path);
+ quota_manager_proxy, std::move(additional_providers), base_path);
}
storage::FileSystemContext*
@@ -35,7 +37,7 @@ CreateFileSystemContextWithAdditionalProvidersForTesting(
base::ThreadTaskRunnerHandle::Get().get(),
storage::ExternalMountPoints::CreateRefCounted().get(),
make_scoped_refptr(new MockSpecialStoragePolicy()).get(),
- quota_manager_proxy, additional_providers.Pass(),
+ quota_manager_proxy, std::move(additional_providers),
std::vector<storage::URLRequestAutoMountHandler>(), base_path,
CreateAllowFileAccessOptions());
}
@@ -50,7 +52,7 @@ storage::FileSystemContext* CreateFileSystemContextWithAutoMountersForTesting(
base::ThreadTaskRunnerHandle::Get().get(),
storage::ExternalMountPoints::CreateRefCounted().get(),
make_scoped_refptr(new MockSpecialStoragePolicy()).get(),
- quota_manager_proxy, additional_providers.Pass(), auto_mounters,
+ quota_manager_proxy, std::move(additional_providers), auto_mounters,
base_path, CreateAllowFileAccessOptions());
}
@@ -63,7 +65,7 @@ storage::FileSystemContext* CreateIncognitoFileSystemContextForTesting(
base::ThreadTaskRunnerHandle::Get().get(),
storage::ExternalMountPoints::CreateRefCounted().get(),
make_scoped_refptr(new MockSpecialStoragePolicy()).get(),
- quota_manager_proxy, additional_providers.Pass(),
+ quota_manager_proxy, std::move(additional_providers),
std::vector<storage::URLRequestAutoMountHandler>(), base_path,
CreateIncognitoFileSystemOptions());
}
« no previous file with comments | « content/public/test/test_file_system_backend.cc ('k') | content/public/test/test_mojo_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698