| Index: chrome/browser/chromeos/file_manager/path_util_unittest.cc
|
| diff --git a/chrome/browser/chromeos/file_manager/path_util_unittest.cc b/chrome/browser/chromeos/file_manager/path_util_unittest.cc
|
| index 351f45091d5091e999e8f00c64a9fa68b42351eb..3eda98d815ac2188f30a4925381e5e754e5e74ce 100644
|
| --- a/chrome/browser/chromeos/file_manager/path_util_unittest.cc
|
| +++ b/chrome/browser/chromeos/file_manager/path_util_unittest.cc
|
| @@ -100,14 +100,14 @@ TEST(FileManagerPathUtilTest, ConvertPathToArcUrl) {
|
|
|
| // Conversion of paths under the primary profile's downloads folder.
|
| const base::FilePath downloads = GetDownloadsFolderForProfile(
|
| - chromeos::ProfileHelper::Get()->GetProfileByUserIdHash(
|
| + chromeos::ProfileHelper::Get()->GetProfileByUserIdHashForTest(
|
| "user@gmail.com-hash"));
|
| EXPECT_TRUE(ConvertPathToArcUrl(downloads.AppendASCII("a/b/c"), &url));
|
| EXPECT_EQ(GURL("file:///sdcard/Download/a/b/c"), url);
|
|
|
| // Non-primary profile's downloads folder is not supported for ARC yet.
|
| const base::FilePath downloads2 = GetDownloadsFolderForProfile(
|
| - chromeos::ProfileHelper::Get()->GetProfileByUserIdHash(
|
| + chromeos::ProfileHelper::Get()->GetProfileByUserIdHashForTest(
|
| "user2@gmail.com-hash"));
|
| EXPECT_FALSE(ConvertPathToArcUrl(downloads2.AppendASCII("a/b/c"), &url));
|
| }
|
|
|