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

Issue 134853004: Migrate old Shortcuts DB data to conform to new type values (Closed)

Created:
6 years, 10 months ago by Anuj
Modified:
6 years, 10 months ago
Reviewers:
Peter Kasting, Mark P
CC:
chromium-reviews, browser-components-watch_chromium.org, David Black
Visibility:
Public.

Description

Migrate old Shortcuts DB data to conform to new type values All new suggestion types will be a Google Search URL with https. In some cases, url may contain additional identifying parameter. BUG=339270 TBR=brettw@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251442

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed Peter's comments - 1 #

Total comments: 8

Patch Set 3 : Addressed Peter's comments - 2 #

Total comments: 14

Patch Set 4 : Addressed comments #

Patch Set 5 : Rebased #

Patch Set 6 : Trying to work around the copy as well as modification of v1.sql #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -6 lines) Patch
M chrome/browser/history/history_database.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/shortcuts_database.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/history/shortcuts_database.cc View 1 2 3 3 chunks +31 lines, -3 lines 0 comments Download
M chrome/browser/history/shortcuts_database_unittest.cc View 1 2 3 2 chunks +31 lines, -3 lines 0 comments Download
A + chrome/test/data/History/Shortcuts.v0.sql View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
Anuj
PTAL
6 years, 10 months ago (2014-02-05 07:16:40 UTC) #1
Peter Kasting
https://codereview.chromium.org/134853004/diff/1/chrome/browser/history/shortcuts_database.cc File chrome/browser/history/shortcuts_database.cc (right): https://codereview.chromium.org/134853004/diff/1/chrome/browser/history/shortcuts_database.cc#newcode199 chrome/browser/history/shortcuts_database.cc:199: // With new suggestion types being added, following values ...
6 years, 10 months ago (2014-02-05 21:59:38 UTC) #2
Mark P
FYI, I plan to do a once-over on this changelist too, after Peter's happy with ...
6 years, 10 months ago (2014-02-05 22:11:12 UTC) #3
Anuj
https://codereview.chromium.org/134853004/diff/1/chrome/browser/history/shortcuts_database.cc File chrome/browser/history/shortcuts_database.cc (right): https://codereview.chromium.org/134853004/diff/1/chrome/browser/history/shortcuts_database.cc#newcode199 chrome/browser/history/shortcuts_database.cc:199: // With new suggestion types being added, following values ...
6 years, 10 months ago (2014-02-10 22:17:30 UTC) #4
Anuj
https://codereview.chromium.org/134853004/diff/60001/chrome/browser/history/shortcuts_database.cc File chrome/browser/history/shortcuts_database.cc (right): https://codereview.chromium.org/134853004/diff/60001/chrome/browser/history/shortcuts_database.cc#newcode23 chrome/browser/history/shortcuts_database.cc:23: const int kCurrentVersionNumber = 28; Not sure what version ...
6 years, 10 months ago (2014-02-10 22:18:44 UTC) #5
Peter Kasting
https://codereview.chromium.org/134853004/diff/1/chrome/browser/history/shortcuts_database.cc File chrome/browser/history/shortcuts_database.cc (right): https://codereview.chromium.org/134853004/diff/1/chrome/browser/history/shortcuts_database.cc#newcode210 chrome/browser/history/shortcuts_database.cc:210: // also sufficient and faster. On 2014/02/10 22:17:30, Anuj ...
6 years, 10 months ago (2014-02-10 22:29:46 UTC) #6
Anuj
https://codereview.chromium.org/134853004/diff/1/chrome/browser/history/shortcuts_database.cc File chrome/browser/history/shortcuts_database.cc (right): https://codereview.chromium.org/134853004/diff/1/chrome/browser/history/shortcuts_database.cc#newcode210 chrome/browser/history/shortcuts_database.cc:210: // also sufficient and faster. On 2014/02/10 22:29:46, Peter ...
6 years, 10 months ago (2014-02-11 07:20:03 UTC) #7
Peter Kasting
LGTM https://codereview.chromium.org/134853004/diff/130001/chrome/browser/history/shortcuts_database.cc File chrome/browser/history/shortcuts_database.cc (right): https://codereview.chromium.org/134853004/diff/130001/chrome/browser/history/shortcuts_database.cc#newcode22 chrome/browser/history/shortcuts_database.cc:22: // or database without *too* many bad effects. ...
6 years, 10 months ago (2014-02-12 00:27:50 UTC) #8
Mark P
>>> FYI, I plan to do a once-over on this changelist too, after Peter's happy ...
6 years, 10 months ago (2014-02-12 23:45:05 UTC) #9
Anuj
Sending it to CQ https://codereview.chromium.org/134853004/diff/130001/chrome/browser/history/shortcuts_database.cc File chrome/browser/history/shortcuts_database.cc (right): https://codereview.chromium.org/134853004/diff/130001/chrome/browser/history/shortcuts_database.cc#newcode22 chrome/browser/history/shortcuts_database.cc:22: // or database without *too* ...
6 years, 10 months ago (2014-02-12 23:54:37 UTC) #10
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 10 months ago (2014-02-12 23:55:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/134853004/220001
6 years, 10 months ago (2014-02-12 23:58:01 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-12 23:58:12 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/test/data/History/Shortcuts.v1.sql: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-12 23:58:14 UTC) #14
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 10 months ago (2014-02-13 01:26:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/134853004/300001
6 years, 10 months ago (2014-02-13 01:28:29 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-13 01:28:35 UTC) #17
commit-bot: I haz the power
Failed to apply patch for chrome/test/data/History/Shortcuts.v1.sql: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-13 01:28:36 UTC) #18
Anuj
For some reason, git patch keeps failing. I think it is because git sees Shortcuts.v1.sql ...
6 years, 10 months ago (2014-02-13 02:13:53 UTC) #19
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 10 months ago (2014-02-13 02:14:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/134853004/440001
6 years, 10 months ago (2014-02-13 02:17:42 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-13 03:55:09 UTC) #22
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) app_list_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, check_deps2git, chromedriver_unittests, ...
6 years, 10 months ago (2014-02-13 03:55:10 UTC) #23
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 10 months ago (2014-02-13 17:27:28 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/134853004/440001
6 years, 10 months ago (2014-02-13 17:28:16 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/134853004/440001
6 years, 10 months ago (2014-02-13 19:51:46 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 04:47:08 UTC) #27
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 10 months ago (2014-02-14 09:07:32 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/134853004/440001
6 years, 10 months ago (2014-02-14 09:07:44 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 18:33:29 UTC) #31
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 10 months ago (2014-02-14 20:14:29 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/134853004/440001
6 years, 10 months ago (2014-02-14 20:16:49 UTC) #34
commit-bot: I haz the power
Change committed as 251442
6 years, 10 months ago (2014-02-14 23:57:24 UTC) #35
hubbe
On 2014/02/14 23:57:24, I haz the power (commit-bot) wrote: > Change committed as 251442 http://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/18614
6 years, 10 months ago (2014-02-15 01:17:06 UTC) #36
Anuj
6 years, 10 months ago (2014-02-15 01:25:36 UTC) #37
Message was sent while issue was closed.
On 2014/02/15 01:17:06, hubbe wrote:
> On 2014/02/14 23:57:24, I haz the power (commit-bot) wrote:
> > Change committed as 251442
> 
>
http://build.chromium.org/p/chromium.linux/builders/Android%2520Tests%2520%25...

This test used to be named TEST(ShortcutsDatabaseMigrationTest, MigrateV1ToV2)

Is there some blacklist of the tests to be not run on Android? Because I don't
think that step should fail, except for a bad merge/sync on the client.

Powered by Google App Engine
This is Rietveld 408576698