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

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

Issue 2318033002: c/browser, c/common, components M-N: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Fix ItunesFileUtilTest Created 4 years, 3 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/native_media_file_util_unittest.cc
diff --git a/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc b/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
index a69d0e4ae295741a1504968c940d2a54cf3fd4df..2c4b1b6df4b044fc9b15a4392c35db5d3538fbb6 100644
--- a/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
+++ b/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
@@ -129,14 +129,14 @@ class NativeMediaFileUtilTest : public testing::Test {
ScopedVector<storage::FileSystemBackend> additional_providers;
additional_providers.push_back(new MediaFileSystemBackend(
- data_dir_.path(), base::ThreadTaskRunnerHandle::Get().get()));
+ data_dir_.GetPath(), base::ThreadTaskRunnerHandle::Get().get()));
file_system_context_ = new storage::FileSystemContext(
base::ThreadTaskRunnerHandle::Get().get(),
base::ThreadTaskRunnerHandle::Get().get(),
storage::ExternalMountPoints::CreateRefCounted().get(),
storage_policy.get(), NULL, std::move(additional_providers),
- std::vector<storage::URLRequestAutoMountHandler>(), data_dir_.path(),
+ std::vector<storage::URLRequestAutoMountHandler>(), data_dir_.GetPath(),
content::CreateAllowFileAccessOptions());
filesystem_id_ = isolated_context()->RegisterFileSystemForPath(
@@ -167,7 +167,7 @@ class NativeMediaFileUtilTest : public testing::Test {
}
base::FilePath root_path() {
- return data_dir_.path().Append(FPL("Media Directory"));
+ return data_dir_.GetPath().Append(FPL("Media Directory"));
}
base::FilePath GetVirtualPath(

Powered by Google App Engine
This is Rietveld 408576698