summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/gdata/gdata_files.h
diff options
context:
space:
mode:
authorbenchan@chromium.org <benchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-25 08:03:12 +0000
committerbenchan@chromium.org <benchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-25 08:03:12 +0000
commit29290a53c9a6377cc93f486326109f6efce3ddc0 (patch)
tree68eff73a80c0f1e05ccc601011b5988d5266cd0a /chrome/browser/chromeos/gdata/gdata_files.h
parent4280f4be4e602f51c34add5286d119dfa764a00c (diff)
downloadchromium_src-29290a53c9a6377cc93f486326109f6efce3ddc0.zip
chromium_src-29290a53c9a6377cc93f486326109f6efce3ddc0.tar.gz
chromium_src-29290a53c9a6377cc93f486326109f6efce3ddc0.tar.bz2
gdata: Fix issue with copying hosted documents out from Docs folder.
This CL changes GDataFileSystem to generate temporary document JSON files in a sub-directory under the cache tmp directory, which can be accessed by the file browser extension. BUG=chromium-os:28384 TEST=Tested the following: 1. Run "unit_tests --gtest_filter='*GData*'" 2. Manually test copying and moving hosted documents from Docs folder to Downloads folder in file manager. Review URL: http://codereview.chromium.org/9834091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/gdata/gdata_files.h')
-rw-r--r--chrome/browser/chromeos/gdata/gdata_files.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/gdata/gdata_files.h b/chrome/browser/chromeos/gdata/gdata_files.h
index 1828951..fee0be6 100644
--- a/chrome/browser/chromeos/gdata/gdata_files.h
+++ b/chrome/browser/chromeos/gdata/gdata_files.h
@@ -274,6 +274,7 @@ class GDataRootDirectory : public GDataDirectory {
CACHE_TYPE_TMP, // Files that don't meet criteria to be in
// persistent dir, and hence evictable.
CACHE_TYPE_TMP_DOWNLOADS, // Downloaded files.
+ CACHE_TYPE_TMP_DOCUMENTS, // Temporary JSON files for hosted documents.
};
// Structure to store information of an existing cache file.