| Index: chrome/browser/chromeos/gdata/gdata_util.cc
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_util.cc b/chrome/browser/chromeos/gdata/gdata_util.cc
|
| index c8d66a814583b327c75645a75cb344e7696f383c..2c6b4dd440bc4784a6b396cd67d02b67715cabf6 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_util.cc
|
| +++ b/chrome/browser/chromeos/gdata/gdata_util.cc
|
| @@ -144,7 +144,8 @@ void ModifyGDataFileResourceUrl(Profile* profile,
|
|
|
| // Handle hosted documents. The edit url is in the temporary file, so we
|
| // read it on a blocking thread.
|
| - if (file_system->GetGDataTempDocumentFolderPath().IsParent(
|
| + if (file_system->GetCacheDirectoryPath(
|
| + GDataRootDirectory::CACHE_TYPE_TMP_DOCUMENTS).IsParent(
|
| gdata_cache_path)) {
|
| GURL* edit_url = new GURL();
|
| content::BrowserThread::GetBlockingPool()->PostTaskAndReply(FROM_HERE,
|
| @@ -156,7 +157,8 @@ void ModifyGDataFileResourceUrl(Profile* profile,
|
| }
|
|
|
| // Handle all other gdata files.
|
| - if (file_system->GetGDataCacheTmpDirectory().IsParent(gdata_cache_path)) {
|
| + if (file_system->GetCacheDirectoryPath(
|
| + GDataRootDirectory::CACHE_TYPE_TMP).IsParent(gdata_cache_path)) {
|
| const std::string resource_id =
|
| gdata_cache_path.BaseName().RemoveExtension().AsUTF8Unsafe();
|
| GetFileNameDelegate delegate;
|
|
|