X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Fchromeos%2Ffile_manager%2Fpath_util.cc;h=27e02fc2c2dd0becd4f10ec87517c76892613612;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=7f5f35de6dc8391edeab0ada952144312ae3ed09;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/chromeos/file_manager/path_util.cc b/src/chrome/browser/chromeos/file_manager/path_util.cc index 7f5f35d..27e02fc 100644 --- a/src/chrome/browser/chromeos/file_manager/path_util.cc +++ b/src/chrome/browser/chromeos/file_manager/path_util.cc @@ -26,6 +26,9 @@ const base::FilePath::CharType kOldDownloadsFolderPath[] = FILE_PATH_LITERAL("/home/chronos/user/Downloads"); const base::FilePath::CharType kOldDriveFolderPath[] = FILE_PATH_LITERAL("/special/drive"); +// Unintended path introduced in crbug.com/363026. +const base::FilePath::CharType kBuggyDriveFolderPath[] = + FILE_PATH_LITERAL("/special/drive-user"); } // namespace @@ -66,6 +69,7 @@ bool MigratePathFromOldFormat(Profile* profile, bases.push_back(std::make_pair(DownloadPrefs::GetDefaultDownloadDirectory(), downloads)); bases.push_back(std::make_pair(base::FilePath(kOldDriveFolderPath), drive)); + bases.push_back(std::make_pair(base::FilePath(kBuggyDriveFolderPath), drive)); // Trying migrating u-/Downloads to the current download path. This is // no-op when multi-profile is enabled. This is necessary for (1) back