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

Issue 895783003: Files.app: Split the startRequests method of metadata models into createRequests and startRequests. (Closed)

Created:
5 years, 10 months ago by hirono
Modified:
5 years, 10 months ago
Reviewers:
yawano
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_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: Split the startRequests method of metadata models into createRequests and startRequests. Currently the startRequests method of metadata models has a responsibility to create requests as well as to mark the cache as loading. In the following patch, we need to apply the requests that are generated by another cache set. Thus the method should be split into two methods (one is for creating requests and another is for marking cache as loading). BUG=410766 TEST=FileManagerJsTest.MetadataCacheSet,FileManagerJsTest.MetadataCacheItem R=yawano@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/322fd48b369d42875015093e0b9a00df08eee58b

Patch Set 1 #

Patch Set 2 : Fix closure error. #

Total comments: 4

Patch Set 3 : Fix comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -32 lines) Patch
M ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js View 1 2 2 chunks +16 lines, -7 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item_unittest.js View 3 chunks +8 lines, -6 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_set.js View 1 4 chunks +25 lines, -13 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_set_unittest.js View 6 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
hirono
PTAL. Thanks!
5 years, 10 months ago (2015-02-02 23:40:52 UTC) #2
yawano
Thank you! 1 very small nit: Typo in description, anoother -> another. https://codereview.chromium.org/895783003/diff/20001/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-03 02:03:22 UTC) #3
hirono
Thanks! https://codereview.chromium.org/895783003/diff/20001/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/895783003/diff/20001/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js#newcode19 ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_item.js:19: MetadataCacheItem.prototype.createRequests = function(names) { On 2015/02/03 02:03:22, yawano ...
5 years, 10 months ago (2015-02-03 03:27:25 UTC) #4
yawano
lgtm. Thank you!
5 years, 10 months ago (2015-02-03 03:41:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/895783003/40001
5 years, 10 months ago (2015-02-03 03:47:05 UTC) #9
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/322fd48b369d42875015093e0b9a00df08eee58b Cr-Commit-Position: refs/heads/master@{#314270}
5 years, 10 months ago (2015-02-03 05:12:25 UTC) #10
hirono
5 years, 10 months ago (2015-02-03 05:12:37 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
322fd48b369d42875015093e0b9a00df08eee58b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698