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

Issue 6677124: Move migration code out of WebDatabase and into table-specific classes. (Closed)

Created:
9 years, 8 months ago by andybons
Modified:
9 years, 7 months ago
Reviewers:
Bons, dhollowa
CC:
chromium-reviews, dhollowa, rohitrao (ping after 24h), pink (ping after 24hrs)
Visibility:
Public.

Description

Move migration code out of WebDatabase and into table-specific classes. - Currently this only affects AutofillTable and KeywordTable. - Delete autofill_util as those functions can go back into an anonymous namespace within autofill_table.cc - Add helper functions for the migration code to reduce code duplication. - This is the final refactor CL for WebDatabase. R=dhollowa@chromium.org BUG=none TEST=anything WebDatabase/Migration/Table related. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80460

Patch Set 1 #

Total comments: 10

Patch Set 2 : Nits from dhollowa #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1150 lines, -1327 lines) Patch
M chrome/browser/webdata/autofill_table.h View 1 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/webdata/autofill_table.cc View 1 13 chunks +993 lines, -16 lines 0 comments Download
D chrome/browser/webdata/autofill_util.h View 1 chunk +0 lines, -68 lines 0 comments Download
D chrome/browser/webdata/autofill_util.cc View 1 chunk +0 lines, -358 lines 0 comments Download
M chrome/browser/webdata/keyword_table.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/webdata/keyword_table.cc View 1 1 chunk +64 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_database.cc View 1 3 chunks +74 lines, -883 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
andybons
9 years, 8 months ago (2011-04-03 15:56:44 UTC) #1
dhollowa
Thanks for splitting these out. Nice cleanup! http://codereview.chromium.org/6677124/diff/1/chrome/browser/webdata/autofill_table.cc File chrome/browser/webdata/autofill_table.cc (right): http://codereview.chromium.org/6677124/diff/1/chrome/browser/webdata/autofill_table.cc#newcode388 chrome/browser/webdata/autofill_table.cc:388: } // ...
9 years, 8 months ago (2011-04-04 16:13:20 UTC) #2
Bons
http://codereview.chromium.org/6677124/diff/1/chrome/browser/webdata/autofill_table.cc File chrome/browser/webdata/autofill_table.cc (right): http://codereview.chromium.org/6677124/diff/1/chrome/browser/webdata/autofill_table.cc#newcode388 chrome/browser/webdata/autofill_table.cc:388: } // anonymous namespace On 2011/04/04 16:13:20, dhollowa wrote: ...
9 years, 8 months ago (2011-04-05 11:05:13 UTC) #3
dhollowa
9 years, 8 months ago (2011-04-05 15:40:56 UTC) #4
LGTM.  Thanks!

Powered by Google App Engine
This is Rietveld 408576698