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

Issue 2767103002: Fix localstorage data migration. (Closed)

Created:
3 years, 9 months ago by Marijn Kruisselbrink
Modified:
3 years, 8 months ago
Reviewers:
michaeln
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix localstorage data migration. https://codereview.chromium.org/2748023008 changed the data format for the new localstorage backend, but broke migration of data from the old format in the process. This change adds a end-to-end test for migration and fixes the migration again. BUG=640707, 586194 Review-Url: https://codereview.chromium.org/2767103002 Cr-Commit-Position: refs/heads/master@{#461351} Committed: https://chromium.googlesource.com/chromium/src/+/86396aa4a030f140170a52d24972f90cfd75bce9

Patch Set 1 #

Total comments: 4

Patch Set 2 : share one encoding function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -14 lines) Patch
M content/browser/dom_storage/dom_storage_browsertest.cc View 1 chunk +26 lines, -0 lines 0 comments Download
M content/browser/dom_storage/local_storage_context_mojo.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/dom_storage/local_storage_context_mojo.cc View 1 3 chunks +15 lines, -7 lines 0 comments Download
M content/browser/dom_storage/local_storage_context_mojo_unittest.cc View 1 2 chunks +2 lines, -7 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
Marijn Kruisselbrink
As I committed my CL yesterday I realized that it broke data migration (and none ...
3 years, 9 months ago (2017-03-22 18:35:34 UTC) #4
michaeln
lgtm but please see comments https://codereview.chromium.org/2767103002/diff/1/content/browser/dom_storage/local_storage_context_mojo.cc File content/browser/dom_storage/local_storage_context_mojo.cc (right): https://codereview.chromium.org/2767103002/diff/1/content/browser/dom_storage/local_storage_context_mojo.cc#newcode75 content/browser/dom_storage/local_storage_context_mojo.cc:75: result.push_back(0); The magic "0" ...
3 years, 9 months ago (2017-03-22 23:49:51 UTC) #7
Marijn Kruisselbrink
https://codereview.chromium.org/2767103002/diff/1/content/browser/dom_storage/local_storage_context_mojo.cc File content/browser/dom_storage/local_storage_context_mojo.cc (right): https://codereview.chromium.org/2767103002/diff/1/content/browser/dom_storage/local_storage_context_mojo.cc#newcode75 content/browser/dom_storage/local_storage_context_mojo.cc:75: result.push_back(0); On 2017/03/22 at 23:49:51, michaeln wrote: > The ...
3 years, 8 months ago (2017-03-31 23:06:15 UTC) #9
michaeln
still lgtm, even more so :)
3 years, 8 months ago (2017-04-02 01:21:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2767103002/20001
3 years, 8 months ago (2017-04-02 23:07:43 UTC) #15
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 00:11:32 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/86396aa4a030f140170a52d24972...

Powered by Google App Engine
This is Rietveld 408576698