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

Issue 195763004: Reland of 260688: [Files.app] Use getDriveEntryProperties to retrieve metadata (Closed)

Created:
6 years, 9 months ago by yoshiki
Modified:
6 years, 7 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, yoshiki+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Reland of 260688: [Files.app] Use getDriveEntryProperties() to retrieve metadata This is a reland of 260688, which is reverted due to false charge of build failure. Previously, we used FileEntry.getMetadata() to retrieve filesystem metadata and getDriveEntryProperties() to get Drive metadata, so we need 2 calls for 1 file on Drive. With this patch, getDriveEntryProperties() returns not only Drive metadata but also filesystem metadata. It's enough to call only getDriveEntryProperties() and we can reduce a number of calls by half. BUG=345196 TEST=browser_test passes. R=asargent@chromium.org, hashimoto@chromium.org, hirono@chromium.org TBR=asargent@chromium.org, hashimoto@chromium.org, hirono@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266437

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adressed the comment #

Total comments: 2

Patch Set 3 : Revert the change in patchset 2 #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
M chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/file_browser_private.idl View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 31 (0 generated)
yoshiki
PTAL, Thanks, hashimoto: C++ code hirono: JS code.
6 years, 9 months ago (2014-03-14 08:28:18 UTC) #1
hashimoto
chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc lgtm
6 years, 9 months ago (2014-03-14 08:31:18 UTC) #2
hirono
https://codereview.chromium.org/195763004/diff/60001/chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js File chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js (right): https://codereview.chromium.org/195763004/diff/60001/chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js#newcode845 chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js:845: size: (entry.isFile ? (data.fileSize || 0) : -1), Currently ...
6 years, 9 months ago (2014-03-14 08:47:29 UTC) #3
yoshiki
@hirono, PTAL https://codereview.chromium.org/195763004/diff/60001/chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js File chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js (right): https://codereview.chromium.org/195763004/diff/60001/chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js#newcode845 chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js:845: size: (entry.isFile ? (data.fileSize || 0) : ...
6 years, 9 months ago (2014-03-14 10:03:11 UTC) #4
hirono
https://codereview.chromium.org/195763004/diff/80001/chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js File chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js (right): https://codereview.chromium.org/195763004/diff/80001/chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js#newcode845 chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js:845: size: (entry.isFile ? (data.fileSize || 0) : -1), How ...
6 years, 9 months ago (2014-03-17 02:28:00 UTC) #5
yoshiki
https://codereview.chromium.org/195763004/diff/80001/chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js File chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js (right): https://codereview.chromium.org/195763004/diff/80001/chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js#newcode845 chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js:845: size: (entry.isFile ? (data.fileSize || 0) : -1), On ...
6 years, 9 months ago (2014-03-17 04:06:14 UTC) #6
hirono
On 2014/03/17 04:06:14, yoshiki wrote: > https://codereview.chromium.org/195763004/diff/80001/chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js > File > chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js > (right): > > ...
6 years, 9 months ago (2014-03-17 08:49:11 UTC) #7
yoshiki
Thanks
6 years, 9 months ago (2014-03-17 09:05:13 UTC) #8
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 9 months ago (2014-03-24 16:33:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/195763004/100001
6 years, 9 months ago (2014-03-24 16:34:29 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-24 17:13:14 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=57028
6 years, 9 months ago (2014-03-24 17:13:15 UTC) #12
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 9 months ago (2014-03-28 09:32:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/195763004/100001
6 years, 9 months ago (2014-03-28 09:33:30 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 10:13:00 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=58229
6 years, 9 months ago (2014-03-28 10:13:01 UTC) #16
yoshiki
@asargent: Could you take a look at the change in file_browser_private.idl? Thanks.
6 years, 8 months ago (2014-03-31 07:09:02 UTC) #17
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 8 months ago (2014-03-31 17:26:36 UTC) #18
yoshiki
The CQ bit was unchecked by yoshiki@chromium.org
6 years, 8 months ago (2014-03-31 17:26:38 UTC) #19
yoshiki
On 2014/03/31 07:09:02, yoshiki wrote: > @asargent: Could you take a look at the change ...
6 years, 8 months ago (2014-03-31 17:27:10 UTC) #20
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 8 months ago (2014-03-31 17:27:17 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/195763004/100001
6 years, 8 months ago (2014-03-31 17:28:50 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-31 18:22:15 UTC) #23
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 8 months ago (2014-03-31 18:22:15 UTC) #24
asargent_no_longer_on_chrome
lgtm
6 years, 8 months ago (2014-03-31 19:39:03 UTC) #25
yoshiki
Committed patchset #3 manually as r260688 (presubmit successful).
6 years, 8 months ago (2014-03-31 22:53:55 UTC) #26
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 7 months ago (2014-04-28 04:31:57 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/195763004/140001
6 years, 7 months ago (2014-04-28 04:33:10 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 05:22:49 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 7 months ago (2014-04-28 05:22:49 UTC) #30
yoshiki
6 years, 7 months ago (2014-04-28 06:00:42 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 manually as r266437 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698