Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Issue 869923004: Files.app: Add model classes to manage cache states of new MetadataCache. (Closed)

Created:
5 years, 10 months ago by hirono
Modified:
5 years, 10 months ago
Reviewers:
yawano
CC:
chromium-reviews, nkostylev+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, oshima+watch_chromium.org, vitalyp+closure_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Files.app: Add model classes to manage cache states of new MetadataCache. New MetadataCache enables us to load metadata property one by one. The CL adds MetadataCacheItem (for each FileEntry), MetadataCacheItemProperty (for each property) to manage cache state of each property. BUG=410766 TEST=FileManagerJsTest.MetadataCacheItemTest Committed: https://crrev.com/99da03a68f33c2b43b4ea35dfea78a44b491269e Cr-Commit-Position: refs/heads/master@{#314116}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Fix test name. #

Total comments: 8

Patch Set 4 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -4 lines) Patch
M chrome/browser/chromeos/file_manager/file_manager_jstest.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/compiled_resources.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js View 1 2 3 1 chunk +128 lines, -0 lines 0 comments Download
A + ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item_unittest.html View 1 1 chunk +3 lines, -4 lines 0 comments Download
A ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item_unittest.js View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
hirono
PTAL? Thanks!
5 years, 10 months ago (2015-02-02 05:48:43 UTC) #2
yawano
https://codereview.chromium.org/869923004/diff/40001/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js File ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js (right): https://codereview.chromium.org/869923004/diff/40001/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js#newcode73 ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js:73: assert(this.properties_[name].requestId < requestId); This seems to allow following code ...
5 years, 10 months ago (2015-02-02 06:46:30 UTC) #3
hirono
https://codereview.chromium.org/869923004/diff/40001/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js File ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js (right): https://codereview.chromium.org/869923004/diff/40001/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js#newcode73 ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js:73: assert(this.properties_[name].requestId < requestId); On 2015/02/02 06:46:29, yawano wrote: > ...
5 years, 10 months ago (2015-02-02 07:24:43 UTC) #4
yawano
lgtm. Thank you! https://codereview.chromium.org/869923004/diff/40001/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js File ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js (right): https://codereview.chromium.org/869923004/diff/40001/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js#newcode73 ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js:73: assert(this.properties_[name].requestId < requestId); On 2015/02/02 07:24:43, ...
5 years, 10 months ago (2015-02-02 07:33:33 UTC) #5
hirono
On 2015/02/02 07:33:33, yawano wrote: > lgtm. Thank you! > > https://codereview.chromium.org/869923004/diff/40001/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js > File ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js ...
5 years, 10 months ago (2015-02-02 07:33:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/869923004/60001
5 years, 10 months ago (2015-02-02 07:34:55 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-02 08:59:51 UTC) #9
commit-bot: I haz the power
5 years, 10 months ago (2015-02-02 09:00:55 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/99da03a68f33c2b43b4ea35dfea78a44b491269e
Cr-Commit-Position: refs/heads/master@{#314116}

Powered by Google App Engine
This is Rietveld 408576698