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

Unified Diff: chrome/browser/chromeos/drive/file_system_util_unittest.cc

Issue 2318023002: //chrome/browser/chromeos: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Address comment and also remove non-trivial cases 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/chromeos/drive/file_system_util_unittest.cc
diff --git a/chrome/browser/chromeos/drive/file_system_util_unittest.cc b/chrome/browser/chromeos/drive/file_system_util_unittest.cc
index f432f17c76cfb0bb0f8cbb289caecdd8b7433d0f..e0b55915be199493155e79bc2c854c1d3e7bd083 100644
--- a/chrome/browser/chromeos/drive/file_system_util_unittest.cc
+++ b/chrome/browser/chromeos/drive/file_system_util_unittest.cc
@@ -131,7 +131,7 @@ TEST_F(ProfileRelatedFileSystemUtilTest, ExtractDrivePathFromFileSystemUrl) {
NULL, // quota_manager_proxy,
ScopedVector<storage::FileSystemBackend>(),
std::vector<storage::URLRequestAutoMountHandler>(),
- temp_dir_.path(), // partition_path
+ temp_dir_.GetPath(), // partition_path
content::CreateAllowFileAccessOptions()));
// Type:"external" + virtual_path:"drive/foo/bar" resolves to "drive/foo/bar".
@@ -158,7 +158,7 @@ TEST_F(ProfileRelatedFileSystemUtilTest, ExtractDrivePathFromFileSystemUrl) {
// Type:"external" + virtual_path:"Downloads/foo" is not a Drive path.
mount_points->RegisterFileSystem(
"Downloads", storage::kFileSystemTypeNativeLocal,
- storage::FileSystemMountOption(), temp_dir_.path());
+ storage::FileSystemMountOption(), temp_dir_.GetPath());
EXPECT_EQ(
base::FilePath(),
ExtractDrivePathFromFileSystemUrl(context->CrackURL(GURL(

Powered by Google App Engine
This is Rietveld 408576698