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

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

Created:
6 years, 9 months ago by Anuj
Modified:
6 years, 8 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, browser-components-watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Migrate old Shortcuts DB data to conform to new type values BUG=339270 TBR=brettw@chromium.org,shess@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260476

Patch Set 1 : Ready for Review #

Total comments: 9

Patch Set 2 : Addressed comments #

Patch Set 3 : Added DCHECKs for debugging #

Patch Set 4 : Fix DCHECKs #

Patch Set 5 : Make android happy #

Patch Set 6 : Delete temp dir #

Patch Set 7 : Work around Windows #

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

Messages

Total messages: 45 (0 generated)
Anuj
Looks like deleting the Shortcuts.v1.sql in the same CL was the problem. Please review.
6 years, 9 months ago (2014-03-27 01:55:58 UTC) #1
Anuj
https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc File chrome/browser/history/shortcuts_database_unittest.cc (right): https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc#newcode231 chrome/browser/history/shortcuts_database_unittest.cc:231: base::FilePath db_path(temp_dir.path().AppendASCII("TestShortcuts1.db")); The conflict in the db files created ...
6 years, 9 months ago (2014-03-27 01:56:40 UTC) #2
Anuj
- Tested on android and chromeos build on linux. - Will delete Shortcuts.v1.sql separately.
6 years, 9 months ago (2014-03-27 01:57:26 UTC) #3
Peter Kasting
https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc File chrome/browser/history/shortcuts_database_unittest.cc (right): https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc#newcode224 chrome/browser/history/shortcuts_database_unittest.cc:224: // Open the v0 test file and use it ...
6 years, 9 months ago (2014-03-27 20:59:25 UTC) #4
Anuj
https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc File chrome/browser/history/shortcuts_database_unittest.cc (right): https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc#newcode224 chrome/browser/history/shortcuts_database_unittest.cc:224: // Open the v0 test file and use it ...
6 years, 9 months ago (2014-03-27 21:46:10 UTC) #5
Peter Kasting
https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc File chrome/browser/history/shortcuts_database_unittest.cc (right): https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc#newcode231 chrome/browser/history/shortcuts_database_unittest.cc:231: base::FilePath db_path(temp_dir.path().AppendASCII("TestShortcuts1.db")); On 2014/03/27 21:46:10, Anuj wrote: > I ...
6 years, 9 months ago (2014-03-27 21:55:27 UTC) #6
Anuj
https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc File chrome/browser/history/shortcuts_database_unittest.cc (right): https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc#newcode231 chrome/browser/history/shortcuts_database_unittest.cc:231: base::FilePath db_path(temp_dir.path().AppendASCII("TestShortcuts1.db")); On 2014/03/27 21:55:28, Peter Kasting wrote: > ...
6 years, 9 months ago (2014-03-27 22:19:05 UTC) #7
Peter Kasting
On 2014/03/27 22:19:05, Anuj wrote: > https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc > File chrome/browser/history/shortcuts_database_unittest.cc (right): > > https://codereview.chromium.org/213433002/diff/110001/chrome/browser/history/shortcuts_database_unittest.cc#newcode231 > ...
6 years, 9 months ago (2014-03-27 22:20:09 UTC) #8
Anuj
> > Sorry, I meant to say LGTM. NP. I was confused. Thanks.
6 years, 9 months ago (2014-03-27 22:21:58 UTC) #9
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 9 months ago (2014-03-27 22:22:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/213433002/130001
6 years, 9 months ago (2014-03-27 22:25:16 UTC) #11
Anuj
The CQ bit was unchecked by skanuj@chromium.org
6 years, 9 months ago (2014-03-27 22:35:53 UTC) #12
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 9 months ago (2014-03-27 22:36:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/213433002/130001
6 years, 9 months ago (2014-03-27 22:39:13 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 06:43:34 UTC) #15
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test on builder ...
6 years, 9 months ago (2014-03-28 06:43:34 UTC) #16
Anuj
The CQ bit was unchecked by skanuj@chromium.org
6 years, 9 months ago (2014-03-28 18:06:44 UTC) #17
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 9 months ago (2014-03-28 18:17:33 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/213433002/130001
6 years, 9 months ago (2014-03-28 18:20:42 UTC) #19
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 8 months ago (2014-03-28 20:22:35 UTC) #20
Anuj
The CQ bit was unchecked by skanuj@chromium.org
6 years, 8 months ago (2014-03-28 22:54:31 UTC) #21
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 8 months ago (2014-03-28 22:55:11 UTC) #22
Anuj
The CQ bit was unchecked by skanuj@chromium.org
6 years, 8 months ago (2014-03-28 23:08:14 UTC) #23
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 8 months ago (2014-03-28 23:10:23 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/213433002/150001
6 years, 8 months ago (2014-03-28 23:11:25 UTC) #25
Anuj
The CQ bit was unchecked by skanuj@chromium.org
6 years, 8 months ago (2014-03-29 00:40:23 UTC) #26
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 8 months ago (2014-03-29 00:48:13 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/213433002/170001
6 years, 8 months ago (2014-03-29 00:50:10 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-29 02:36:59 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-03-29 02:36:59 UTC) #30
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 8 months ago (2014-03-30 02:32:51 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/213433002/190001
6 years, 8 months ago (2014-03-30 02:32:54 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-30 04:08:24 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-03-30 04:08:25 UTC) #34
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 8 months ago (2014-03-30 06:06:06 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/213433002/190001
6 years, 8 months ago (2014-03-30 06:06:18 UTC) #36
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-30 07:38:19 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-03-30 07:38:20 UTC) #38
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 8 months ago (2014-03-30 16:01:10 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/213433002/210001
6 years, 8 months ago (2014-03-30 16:02:14 UTC) #40
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-30 17:39:57 UTC) #41
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=290961
6 years, 8 months ago (2014-03-30 17:39:57 UTC) #42
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 8 months ago (2014-03-30 19:56:29 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/213433002/230001
6 years, 8 months ago (2014-03-30 19:56:37 UTC) #44
commit-bot: I haz the power
6 years, 8 months ago (2014-03-31 00:44:35 UTC) #45
Message was sent while issue was closed.
Change committed as 260476

Powered by Google App Engine
This is Rietveld 408576698