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

Issue 677213002: Add ImportHistory class and RecordStorage class. (Closed)

Created:
6 years, 2 months ago by Steve McKay
Modified:
6 years, 1 month ago
Reviewers:
mtomasz, fukino, Ben Kwa
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, tfarina, yoshiki+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, Ben Kwa
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add ImportHistory class and RecordStorage class to manage storage of local dedupe data. RecordStorage will storage data in a file obtained from chrome.syncFileSystem allowing "local" dedupe data to be synced between a users devices. BUG=420680 TEST=browser_test: *ImportHistoryTest* Committed: https://crrev.com/2dc842c7481b6cc806bcd7b8cd027e496853149f Cr-Commit-Position: refs/heads/master@{#302116}

Patch Set 1 #

Patch Set 2 : Revert json file from (abandoned) browser test. #

Patch Set 3 : Nuke an obsolete comment. #

Total comments: 52

Patch Set 4 : Respond to review comments && extract interface from RecordStorage. #

Total comments: 10

Patch Set 5 : Respond to review comments. #

Patch Set 6 : Remove underscores from test method names. #

Total comments: 12

Patch Set 7 : Respond to Ben's comments. #

Patch Set 8 : Address an outstanding TODO #

Total comments: 18

Patch Set 9 : Respond to review comments. #

Total comments: 14

Patch Set 10 : Respond to review comments. #

Total comments: 2

Patch Set 11 : Fix a comment typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+520 lines, -3 lines) Patch
M chrome/browser/chromeos/file_manager/file_manager_jstest.cc View 1 chunk +5 lines, -0 lines 0 comments Download
A + chrome/test/data/file_manager/unit_tests/import_history_unittest.html View 1 chunk +2 lines, -3 lines 0 comments Download
A chrome/test/data/file_manager/unit_tests/import_history_unittest.js View 1 2 3 4 5 6 7 8 9 1 chunk +174 lines, -0 lines 0 comments Download
A ui/file_manager/file_manager/background/js/import_history.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +339 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (5 generated)
Steve McKay
Whew! Really wanted to get this mailed before I went home for the weekend. Too ...
6 years, 2 months ago (2014-10-25 00:21:50 UTC) #2
mtomasz
https://codereview.chromium.org/677213002/diff/40001/chrome/browser/chromeos/file_manager/file_manager_jstest.cc File chrome/browser/chromeos/file_manager/file_manager_jstest.cc (right): https://codereview.chromium.org/677213002/diff/40001/chrome/browser/chromeos/file_manager/file_manager_jstest.cc#newcode64 chrome/browser/chromeos/file_manager/file_manager_jstest.cc:64: IN_PROC_BROWSER_TEST_F(FileManagerJsTest, ImportHistoryTest) { Please add TEST=browser_test: *ImportHistoryTest* or sth ...
6 years, 1 month ago (2014-10-27 00:40:12 UTC) #3
Steve McKay
Excellent! Mostly Dones, and some questions about Google3 style VS team style and how those ...
6 years, 1 month ago (2014-10-27 21:06:29 UTC) #4
mtomasz
Yes, code style of JS in Chromium, especially jsdoc is not so well defined. I ...
6 years, 1 month ago (2014-10-28 01:36:32 UTC) #6
fukino
https://codereview.chromium.org/677213002/diff/40001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js File chrome/test/data/file_manager/unit_tests/import_history_unittest.js (right): https://codereview.chromium.org/677213002/diff/40001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js#newcode12 chrome/test/data/file_manager/unit_tests/import_history_unittest.js:12: /** @type {!TestFileSystem} */ On 2014/10/28 01:36:32, mtomasz wrote: ...
6 years, 1 month ago (2014-10-28 04:06:00 UTC) #7
mtomasz
https://codereview.chromium.org/677213002/diff/60001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js File chrome/test/data/file_manager/unit_tests/import_history_unittest.js (right): https://codereview.chromium.org/677213002/diff/60001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js#newcode11 chrome/test/data/file_manager/unit_tests/import_history_unittest.js:11: * @type {String} nit: {String} -> {string} for consistency ...
6 years, 1 month ago (2014-10-28 08:47:59 UTC) #8
Steve McKay
K. I think I covered all the comments. https://codereview.chromium.org/677213002/diff/40001/chrome/browser/chromeos/file_manager/file_manager_jstest.cc File chrome/browser/chromeos/file_manager/file_manager_jstest.cc (right): https://codereview.chromium.org/677213002/diff/40001/chrome/browser/chromeos/file_manager/file_manager_jstest.cc#newcode64 chrome/browser/chromeos/file_manager/file_manager_jstest.cc:64: IN_PROC_BROWSER_TEST_F(FileManagerJsTest, ...
6 years, 1 month ago (2014-10-28 18:04:02 UTC) #10
Ben Kwa
https://codereview.chromium.org/677213002/diff/120001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js File chrome/test/data/file_manager/unit_tests/import_history_unittest.js (right): https://codereview.chromium.org/677213002/diff/120001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js#newcode10 chrome/test/data/file_manager/unit_tests/import_history_unittest.js:10: * Space Cloud: You're source for interstellar cloud storage. ...
6 years, 1 month ago (2014-10-28 18:44:56 UTC) #12
Steve McKay
Addressed Ben's comments. PTAL. https://codereview.chromium.org/677213002/diff/120001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js File chrome/test/data/file_manager/unit_tests/import_history_unittest.js (right): https://codereview.chromium.org/677213002/diff/120001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js#newcode10 chrome/test/data/file_manager/unit_tests/import_history_unittest.js:10: * Space Cloud: You're source ...
6 years, 1 month ago (2014-10-28 19:32:19 UTC) #13
mtomasz
https://codereview.chromium.org/677213002/diff/160001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js File chrome/test/data/file_manager/unit_tests/import_history_unittest.js (right): https://codereview.chromium.org/677213002/diff/160001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js#newcode34 chrome/test/data/file_manager/unit_tests/import_history_unittest.js:34: modificationTime: 'Thursday, very late' nit: Can we use a ...
6 years, 1 month ago (2014-10-29 01:10:41 UTC) #14
Ben Kwa
https://codereview.chromium.org/677213002/diff/120001/ui/file_manager/file_manager/background/js/import_history.js File ui/file_manager/file_manager/background/js/import_history.js (right): https://codereview.chromium.org/677213002/diff/120001/ui/file_manager/file_manager/background/js/import_history.js#newcode234 ui/file_manager/file_manager/background/js/import_history.js:234: reader.onloadend = function() { On 2014/10/28 19:32:19, Steve McKay ...
6 years, 1 month ago (2014-10-29 13:29:51 UTC) #15
Steve McKay
PTALs everyone. Hopefully we can land this change soon. We'll continue to work the code ...
6 years, 1 month ago (2014-10-29 16:57:22 UTC) #16
Ben Kwa
lgtm
6 years, 1 month ago (2014-10-29 17:23:37 UTC) #17
mtomasz
Basically looks good to me, but let me scan one more time. https://codereview.chromium.org/677213002/diff/180001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js File chrome/test/data/file_manager/unit_tests/import_history_unittest.js ...
6 years, 1 month ago (2014-10-30 01:04:55 UTC) #18
mtomasz
On 2014/10/30 01:04:55, mtomasz wrote: > Basically looks good to me, but let me scan ...
6 years, 1 month ago (2014-10-30 01:27:10 UTC) #19
mtomasz
On 2014/10/30 01:04:55, mtomasz wrote: > Basically looks good to me, but let me scan ...
6 years, 1 month ago (2014-10-30 01:27:10 UTC) #20
mtomasz
On 2014/10/30 01:27:10, mtomasz wrote: > On 2014/10/30 01:04:55, mtomasz wrote: > > Basically looks ...
6 years, 1 month ago (2014-10-30 01:27:22 UTC) #21
Steve McKay
PTALs. https://codereview.chromium.org/677213002/diff/180001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js File chrome/test/data/file_manager/unit_tests/import_history_unittest.js (right): https://codereview.chromium.org/677213002/diff/180001/chrome/test/data/file_manager/unit_tests/import_history_unittest.js#newcode7 chrome/test/data/file_manager/unit_tests/import_history_unittest.js:7: var FILE_LASTMOD = new Date("Dec 4 1968").toString(); On ...
6 years, 1 month ago (2014-10-30 01:42:42 UTC) #22
mtomasz
lgtm with a nit! https://codereview.chromium.org/677213002/diff/200001/ui/file_manager/file_manager/background/js/import_history.js File ui/file_manager/file_manager/background/js/import_history.js (right): https://codereview.chromium.org/677213002/diff/200001/ui/file_manager/file_manager/background/js/import_history.js#newcode307 ui/file_manager/file_manager/background/js/import_history.js:307: * An wrapper for FileEntry ...
6 years, 1 month ago (2014-10-30 01:55:46 UTC) #23
fukino
lgtm for jsdocs.
6 years, 1 month ago (2014-10-30 02:13:27 UTC) #24
Steve McKay
Fix a comment typo.
6 years, 1 month ago (2014-10-30 16:58:02 UTC) #25
Steve McKay
Thanks for the review! Ben and I are both happy to be up and running ...
6 years, 1 month ago (2014-10-30 16:59:17 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/677213002/220001
6 years, 1 month ago (2014-10-30 17:00:57 UTC) #28
commit-bot: I haz the power
Committed patchset #11 (id:220001)
6 years, 1 month ago (2014-10-30 18:40:31 UTC) #29
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 18:41:19 UTC) #30
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/2dc842c7481b6cc806bcd7b8cd027e496853149f
Cr-Commit-Position: refs/heads/master@{#302116}

Powered by Google App Engine
This is Rietveld 408576698