summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/gdata/gdata_files.h
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-24 06:07:54 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-24 06:07:54 +0000
commit79c441f88c2bfe3c8d23b49b2f4e28f6dfefe1b3 (patch)
tree65c8f4fa2523b3af1e1c1c7405fa8e9d28de0e4e /chrome/browser/chromeos/gdata/gdata_files.h
parent4d59bf7836bbefee90bcb284ea2ab5418ea123a6 (diff)
downloadchromium_src-79c441f88c2bfe3c8d23b49b2f4e28f6dfefe1b3.zip
chromium_src-79c441f88c2bfe3c8d23b49b2f4e28f6dfefe1b3.tar.gz
chromium_src-79c441f88c2bfe3c8d23b49b2f4e28f6dfefe1b3.tar.bz2
gdata: Get rid of GetGDataCacheTmpDirectory() and friends
Replace them with GetCacheDirectoryPath(), in favor of less public member functions from GDataFileSystem class, which is overly large. Wanted to make them just utility functions in gdata_util.cc but turned out we needed Profile* to compute these directory paths. BUG=chromium-os:29813 TEST=compiles Review URL: https://chromiumcodereview.appspot.com/10198003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133639 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 e580cdf..b7e9031 100644
--- a/chrome/browser/chromeos/gdata/gdata_files.h
+++ b/chrome/browser/chromeos/gdata/gdata_files.h
@@ -343,6 +343,7 @@ class GDataRootDirectory : public GDataDirectory {
// persistent dir, and hence evictable.
CACHE_TYPE_TMP_DOWNLOADS, // Downloaded files.
CACHE_TYPE_TMP_DOCUMENTS, // Temporary JSON files for hosted documents.
+ NUM_CACHE_TYPES, // This must be at the end.
};
// Structure to store information of an existing cache file.