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

Issue 2094523002: Add migration from old to new NTP Promo pref structure. (Closed)

Created:
4 years, 6 months ago by gchatz
Modified:
4 years, 5 months ago
CC:
chromium-reviews, sdefresne+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add migration from old to new NTP Promo pref structure. The structure of the pref that stores NTP Promos changed when support was added for storing multiple NTP Promos. This CL adds code to handle migrating the data from the old structure to the new structure, so that there is no data loss when users upgrade. BUG=620554 Committed: https://crrev.com/9d7ff2e8d36006998c5eadbc5f560990de231dcd Cr-Commit-Position: refs/heads/master@{#402356}

Patch Set 1 #

Patch Set 2 : Add comments #

Total comments: 4

Patch Set 3 : edits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -5 lines) Patch
M ios/chrome/browser/notification_promo.h View 1 2 2 chunks +10 lines, -1 line 0 comments Download
M ios/chrome/browser/notification_promo.cc View 1 2 4 chunks +58 lines, -4 lines 0 comments Download
M ios/chrome/browser/notification_promo_unittest.cc View 1 2 2 chunks +72 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
gchatz
4 years, 6 months ago (2016-06-23 00:06:51 UTC) #2
gchatz
On 2016/06/23 00:06:51, gchatz wrote: ping
4 years, 5 months ago (2016-06-27 16:22:37 UTC) #3
rohitrao (ping after 24h)
LGTM When can we remove this migration code? In a milestone or two? Is there ...
4 years, 5 months ago (2016-06-27 17:04:19 UTC) #4
gchatz
Filed a bug for removing the migration code, and added TODOS for it. https://codereview.chromium.org/2094523002/diff/20001/ios/chrome/browser/notification_promo.cc File ...
4 years, 5 months ago (2016-06-27 23:12:22 UTC) #5
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/2094523002/40001
4 years, 5 months ago (2016-06-27 23:34:12 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-28 01:06:57 UTC) #9
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 01:10:01 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9d7ff2e8d36006998c5eadbc5f560990de231dcd
Cr-Commit-Position: refs/heads/master@{#402356}

Powered by Google App Engine
This is Rietveld 408576698