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

Issue 805533003: Hook up import history to media scanner. (Closed)

Created:
6 years ago by Steve McKay
Modified:
6 years ago
Reviewers:
mtomasz, Ben Kwa
CC:
chromium-reviews, vitalyp+closure_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, asvitkine+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

Hook up import history to media scanner. Dedupe files while scanning against local history. Hook up import history to media scanner in background. BUG=420680 TEST=browser_test: FileManagerJsTest.* jwd@ for historgrams.xml. Committed: https://crrev.com/a79e4e24a629948ab4ca7ac751539dac1243b594 Cr-Commit-Position: refs/heads/master@{#308412}

Patch Set 1 #

Patch Set 2 : Add import history test double. #

Total comments: 4

Patch Set 3 : Hide resolution of HistoryLoader promise behind a facade class. #

Patch Set 4 : Don't create a new history loader instance for each access. #

Total comments: 12

Patch Set 5 : Revert metrics integration (since additional metics.js changes would be required to make metrics wo… #

Patch Set 6 : Revert manifest.json. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -54 lines) Patch
M ui/file_manager/file_manager/background/js/background.js View 1 2 3 4 4 chunks +39 lines, -23 lines 0 comments Download
M ui/file_manager/file_manager/background/js/media_scanner.js View 1 2 3 4 7 chunks +53 lines, -8 lines 0 comments Download
M ui/file_manager/file_manager/background/js/media_scanner_unittest.html View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/media_scanner_unittest.js View 1 2 3 4 3 chunks +48 lines, -14 lines 0 comments Download
A ui/file_manager/file_manager/background/js/test_import_history.js View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager.js View 1 2 1 chunk +2 lines, -9 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/metrics_base.js View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
Steve McKay
Add import history test double.
6 years ago (2014-12-13 00:28:20 UTC) #2
Steve McKay
https://codereview.chromium.org/805533003/diff/20001/ui/file_manager/file_manager/background/js/background.js File ui/file_manager/file_manager/background/js/background.js (right): https://codereview.chromium.org/805533003/diff/20001/ui/file_manager/file_manager/background/js/background.js#newcode92 ui/file_manager/file_manager/background/js/background.js:92: this.historyLoaderPromise.then( Tomasz. I just checked and this triggers the ...
6 years ago (2014-12-13 00:45:44 UTC) #3
Steve McKay
Hide resolution of HistoryLoader promise behind a facade class.
6 years ago (2014-12-13 03:44:26 UTC) #4
Steve McKay
https://codereview.chromium.org/805533003/diff/20001/ui/file_manager/file_manager/background/js/background.js File ui/file_manager/file_manager/background/js/background.js (right): https://codereview.chromium.org/805533003/diff/20001/ui/file_manager/file_manager/background/js/background.js#newcode92 ui/file_manager/file_manager/background/js/background.js:92: this.historyLoaderPromise.then( On 2014/12/13 00:45:44, Steve McKay wrote: > Tomasz. ...
6 years ago (2014-12-13 03:46:18 UTC) #5
Steve McKay
Don't create a new history loader instance for each access.
6 years ago (2014-12-13 16:18:06 UTC) #6
mtomasz
lgtm with nits. https://codereview.chromium.org/805533003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/805533003/diff/20001/tools/metrics/histograms/histograms.xml#newcode9146 tools/metrics/histograms/histograms.xml:9146: + Chrome OS File Browser / ...
6 years ago (2014-12-15 00:51:20 UTC) #7
Ben Kwa
lgtm Couple of minor jsdoc related comments, otherwise, LG. https://codereview.chromium.org/805533003/diff/60001/ui/file_manager/file_manager/background/js/background.js File ui/file_manager/file_manager/background/js/background.js (right): https://codereview.chromium.org/805533003/diff/60001/ui/file_manager/file_manager/background/js/background.js#newcode613 ui/file_manager/file_manager/background/js/background.js:613: ...
6 years ago (2014-12-15 15:57:24 UTC) #8
Steve McKay
Revert metrics integration (since additional metics.js changes would be required to make metrics work in ...
6 years ago (2014-12-15 19:30:33 UTC) #9
Steve McKay
Revert manifest.json.
6 years ago (2014-12-15 19:34:39 UTC) #10
Steve McKay
Dropped Jesse Doherty from the CL as metrics changes need to be dealt with in ...
6 years ago (2014-12-15 19:35:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/805533003/100001
6 years ago (2014-12-15 20:47:08 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years ago (2014-12-15 20:52:06 UTC) #15
commit-bot: I haz the power
6 years ago (2014-12-15 20:52:52 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a79e4e24a629948ab4ca7ac751539dac1243b594
Cr-Commit-Position: refs/heads/master@{#308412}

Powered by Google App Engine
This is Rietveld 408576698