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

Issue 954583004: Shrink space required by history log file (Closed)

Created:
5 years, 10 months ago by Steve McKay
Modified:
5 years, 9 months ago
Reviewers:
mtomasz
CC:
chromium-reviews, tfarina, 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

Shrink space required by history log file 1) Use seconds-since-epoch in log record keys, instead of full date strings. 2) Add support for inflating/deflating urls. 3) Deflate URLS prior to storaing in log file. 4) Remove obsolete code for reloading history after remote changes. BUG=461176 TEST=browser_test: FileManagerJsTest.* Committed: https://crrev.com/1f0ca0da1b05c4ac1781063fcf7cfbb195e2a606 Cr-Commit-Position: refs/heads/master@{#317965}

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : Respond to review comments. Also remove a little more unused sync related code. #

Patch Set 4 : Simplify some of the history initialization complexity added in earlier patch. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -249 lines) Patch
M ui/file_manager/file_manager/background/js/import_history.js View 1 2 3 16 chunks +53 lines, -122 lines 2 comments Download
M ui/file_manager/file_manager/background/js/import_history_unittest.js View 1 2 3 5 chunks +10 lines, -93 lines 0 comments Download
M ui/file_manager/file_manager/common/js/importer_common.js View 1 2 6 chunks +59 lines, -33 lines 0 comments Download
M ui/file_manager/file_manager/common/js/importer_common_unittest.js View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager.js View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 16 (3 generated)
Steve McKay
5 years, 10 months ago (2015-02-24 02:37:35 UTC) #1
Steve McKay
Log entries now look like: COPY RECORD: [0,"1400539064_464768","google-drive","$/removable/USB%20Drive/DCIM/robbieshade2.jpg","$/drive-ebbe9ae388f1daaf9b4260a9ff64b62252e473f1/root/Chrome%20OS%20Cloud%20backup/2015-02-23/robbieshade2.jpg"], IMPORT RECORD: [1,"1400539060_690154","google-drive"],
5 years, 10 months ago (2015-02-24 02:38:46 UTC) #2
Steve McKay
Dude. I totally thought I mailed this last night. Today, I was like "What's with ...
5 years, 9 months ago (2015-02-25 00:07:58 UTC) #4
mtomasz
lgtm with nits https://codereview.chromium.org/954583004/diff/20001/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/954583004/diff/20001/ui/file_manager/file_manager/background/js/import_history.js#newcode429 ui/file_manager/file_manager/background/js/import_history.js:429: var url = importer.inflateAppUrl( We're losing ...
5 years, 9 months ago (2015-02-25 00:40:17 UTC) #5
Steve McKay
Respond to review comments. Also remove a little more unused sync related code.
5 years, 9 months ago (2015-02-25 01:01:25 UTC) #6
Steve McKay
Respond to review comments.
5 years, 9 months ago (2015-02-25 01:31:51 UTC) #7
Steve McKay
Simplify some of the history initialization complexity added in earlier patch.
5 years, 9 months ago (2015-02-25 01:49:39 UTC) #9
Steve McKay
Dones. Made a few more small improvements. Please take another look. If you're happy, please ...
5 years, 9 months ago (2015-02-25 01:51:57 UTC) #10
mtomasz
lgtm with nit https://codereview.chromium.org/954583004/diff/80001/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/954583004/diff/80001/ui/file_manager/file_manager/background/js/import_history.js#newcode256 ui/file_manager/file_manager/background/js/import_history.js:256: return /** @type {!Promise.<!importer.ImportHistory>} */ (this.whenReady_); ...
5 years, 9 months ago (2015-02-25 02:02:40 UTC) #11
Steve McKay
https://codereview.chromium.org/954583004/diff/80001/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/954583004/diff/80001/ui/file_manager/file_manager/background/js/import_history.js#newcode256 ui/file_manager/file_manager/background/js/import_history.js:256: return /** @type {!Promise.<!importer.ImportHistory>} */ (this.whenReady_); On 2015/02/25 02:02:39, ...
5 years, 9 months ago (2015-02-25 02:08:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954583004/80001
5 years, 9 months ago (2015-02-25 02:08:49 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 9 months ago (2015-02-25 03:21:09 UTC) #15
commit-bot: I haz the power
5 years, 9 months ago (2015-02-25 03:21:53 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1f0ca0da1b05c4ac1781063fcf7cfbb195e2a606
Cr-Commit-Position: refs/heads/master@{#317965}

Powered by Google App Engine
This is Rietveld 408576698