diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-14 06:25:45 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-14 06:25:45 +0000 |
commit | 9d147586a54d556e6692141572764646ee09a166 (patch) | |
tree | 32478dd59ba994f1fd4c3120593ab06f93122a7b /chrome/browser/resources/chromeos/drive_internals.js | |
parent | 4d9b083160466cee96855a80318a904b7c89eec7 (diff) | |
download | chromium_src-9d147586a54d556e6692141572764646ee09a166.zip chromium_src-9d147586a54d556e6692141572764646ee09a166.tar.gz chromium_src-9d147586a54d556e6692141572764646ee09a166.tar.bz2 |
drive: Merge 'persistent' and 'tmp' directories to 'files'
Remove FileCacheEntry::is_present which can be replaced with "is_pinned() || is_dirty() || is_mounted()".
Stop moving files between the two directories when modifying cache states.
Add FileCache::MigrateFilesFromOldDirectories().
BUG=248905
TEST=unit_tests
R=kinaba@chromium.org, satorux@chromium.org
Review URL: https://codereview.chromium.org/15663006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/chromeos/drive_internals.js')
-rw-r--r-- | chrome/browser/resources/chromeos/drive_internals.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/resources/chromeos/drive_internals.js b/chrome/browser/resources/chromeos/drive_internals.js index 6ef25aa..e6d40db 100644 --- a/chrome/browser/resources/chromeos/drive_internals.js +++ b/chrome/browser/resources/chromeos/drive_internals.js @@ -82,7 +82,6 @@ function updateCacheContents(cacheEntry) { tr.appendChild(createElementFromText('td', cacheEntry.is_pinned)); tr.appendChild(createElementFromText('td', cacheEntry.is_dirty)); tr.appendChild(createElementFromText('td', cacheEntry.is_mounted)); - tr.appendChild(createElementFromText('td', cacheEntry.is_persistent)); $('cache-contents').appendChild(tr); } |