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

Issue 5159001: Rest of the autofill work. (Closed)

Created:
10 years, 1 month ago by lipalani
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ncarter (slow), ben+cc_chromium.org, Raghu Simha, idana, Paweł Hajdan Jr., James Hawkins, tim (not reviewing), dhollowa, Ilya Sherman
Visibility:
Public.

Description

Rest of the autofill work. Includes 1. change processor. 2. Migrating code. 3. new datatype registration/enabling/disabling from the UI. (It is keyed off of autofill datatype). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69382

Patch Set 1 #

Patch Set 2 : Diff against the first part of the review. #

Total comments: 8

Patch Set 3 : after rebasing. #

Patch Set 4 : Autofill migration code #

Patch Set 5 : Autofill code after fixing the lint errors. #

Total comments: 36

Patch Set 6 : autofill migration work with the CR feedback addressed. #

Patch Set 7 : Couple of lint errors sneaked into my previous patch. This is clean of lint errors. #

Total comments: 112

Patch Set 8 : autofill second part with cr feedback fixed #

Total comments: 6

Patch Set 9 : autofill patch #

Patch Set 10 : autofill changes. #

Total comments: 42

Patch Set 11 : Fixing the CR feedback. #

Total comments: 4

Patch Set 12 : fixing the cr feedback. #

Patch Set 13 : patch uploaded to debug why try servers have problem applying this patch. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1838 lines, -362 lines) Patch
M chrome/browser/sync/engine/syncapi.h View 1 2 3 4 5 6 7 8 4 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncapi.cc View 1 2 3 4 5 6 7 4 chunks +80 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/autofill_change_processor.h View 1 2 3 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/sync/glue/autofill_change_processor.cc View 1 2 3 4 5 6 7 8 8 chunks +13 lines, -40 lines 0 comments Download
M chrome/browser/sync/glue/autofill_change_processor2.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller.h View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller.cc View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/autofill_model_associator.h View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -23 lines 0 comments Download
M chrome/browser/sync/glue/autofill_model_associator.cc View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +118 lines, -38 lines 0 comments Download
A chrome/browser/sync/glue/autofill_profile_change_processor.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +120 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/autofill_profile_change_processor.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +338 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/autofill_profile_data_type_controller.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/autofill_profile_data_type_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_model_associator.h View 1 2 3 4 5 6 7 8 9 10 6 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_model_associator.cc View 1 2 3 4 5 6 7 8 9 10 16 chunks +114 lines, -26 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_change_processor.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.cc View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/sync/glue/do_optimistic_refresh_task.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/do_optimistic_refresh_task.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.h View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +64 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory.h View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +32 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_mock.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 7 8 9 5 chunks +28 lines, -7 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +33 lines, -0 lines 0 comments Download
A chrome/browser/sync/syncable/autofill_migration.h View 1 2 3 4 5 6 7 1 chunk +49 lines, -0 lines 0 comments Download
M chrome/browser/sync/syncable/directory_backing_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +197 lines, -194 lines 0 comments Download
M chrome/browser/sync/syncable/directory_backing_store.cc View 1 2 3 4 5 6 7 8 11 chunks +130 lines, -14 lines 0 comments Download
M chrome/browser/sync/syncable/directory_backing_store_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +164 lines, -1 line 0 comments Download
M chrome/browser/sync/syncable/model_type.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/syncable/model_type.cc View 1 2 3 4 5 4 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.cc View 1 2 3 4 5 6 7 2 chunks +78 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
lipalani
This is a superset of the first patch. If you only need to see the ...
10 years, 1 month ago (2010-11-17 06:45:22 UTC) #1
tim (not reviewing)
hm, wait... I started reviewing the issue you sent out at ~ 530. Should I ...
10 years, 1 month ago (2010-11-17 08:33:22 UTC) #2
lipalani
The comments from the previous CR that we did before couple of weeks ago. New ...
10 years ago (2010-12-08 21:37:46 UTC) #3
lipalani
Comments from yesterday's offline code review. http://codereview.chromium.org/5159001/diff/64001/chrome/browser/sync/engine/syncapi.cc File chrome/browser/sync/engine/syncapi.cc (right): http://codereview.chromium.org/5159001/diff/64001/chrome/browser/sync/engine/syncapi.cc#newcode1150 chrome/browser/sync/engine/syncapi.cc:1150: return lookup->set_autofill_migration_state_debug_info(property_to_set, info); ...
10 years ago (2010-12-09 19:45:25 UTC) #4
tim (not reviewing)
Sorry I somehow glazed over this yesterday during the walk-through :( http://codereview.chromium.org/5159001/diff/64001/chrome/browser/sync/engine/syncapi.h File chrome/browser/sync/engine/syncapi.h (right): ...
10 years ago (2010-12-09 20:04:14 UTC) #5
tim (not reviewing)
http://codereview.chromium.org/5159001/diff/64001/chrome/browser/sync/engine/syncapi.cc File chrome/browser/sync/engine/syncapi.cc (right): http://codereview.chromium.org/5159001/diff/64001/chrome/browser/sync/engine/syncapi.cc#newcode37 chrome/browser/sync/engine/syncapi.cc:37: #include "chrome/browser/sync/glue/autofill_profile_model_associator.h" this is also strictly not allowed. glue ...
10 years ago (2010-12-10 22:16:02 UTC) #6
lipalani
CR feedback addressed. Fixing 2 comments are still baffling me(one to move the autofillprofilechangerecord structure ...
10 years ago (2010-12-11 00:12:36 UTC) #7
lipalani
Couple of lint errors sneaked in my previous patch. fixed it. this should be lint ...
10 years ago (2010-12-11 00:25:03 UTC) #8
tim (not reviewing)
many style nits. You probably want to reply to each one individually with 'Done' or ...
10 years ago (2010-12-13 19:24:33 UTC) #9
lipalani
fixed all the CR feedback except the issue of DLOG(warning) not taking a utf8. should ...
10 years ago (2010-12-14 21:05:57 UTC) #10
tim (not reviewing)
Some files weren't uploaded with changes in this patch set and several files still have ...
10 years ago (2010-12-14 21:46:43 UTC) #11
lipalani
Hopefully fixed all the CR feedback. try job on windows passed. The test failure on ...
10 years ago (2010-12-15 09:08:33 UTC) #12
lipalani
try job on mac passed as well. I might retry the linux alone... On Wed, ...
10 years ago (2010-12-15 15:59:25 UTC) #13
lipalani
Please review the latest patch. I am running one more try on this.
10 years ago (2010-12-15 19:34:29 UTC) #14
tim (not reviewing)
More comments, almost entirely style nits. (Apologies I'm slow and picky at reviewing this. I ...
10 years ago (2010-12-15 20:11:41 UTC) #15
lipalani
fixed the cr feedback.(21 out of 21). The try servers all passed on the previous ...
10 years ago (2010-12-15 21:28:14 UTC) #16
tim (not reviewing)
Yay! LGTM! (two final comment-only tiny typos) Perseverance much appreciated :) http://codereview.chromium.org/5159001/diff/202002/chrome/browser/sync/glue/autofill_model_associator.cc File chrome/browser/sync/glue/autofill_model_associator.cc (right): ...
10 years ago (2010-12-15 21:45:27 UTC) #17
lipalani
10 years ago (2010-12-15 21:50:20 UTC) #18
fixed the last 2 comments.

Sent to try bots!!

http://codereview.chromium.org/5159001/diff/202002/chrome/browser/sync/glue/a...
File chrome/browser/sync/glue/autofill_model_associator.cc (right):

http://codereview.chromium.org/5159001/diff/202002/chrome/browser/sync/glue/a...
chrome/browser/sync/glue/autofill_model_associator.cc:574: << "legacy autofill
root node is preseent whereas new "
On 2010/12/15 21:45:28, timsteele wrote:
> 'preseent' > 'present'

Done.

http://codereview.chromium.org/5159001/diff/202002/chrome/browser/sync/glue/a...
File chrome/browser/sync/glue/autofill_profile_change_processor.h (right):

http://codereview.chromium.org/5159001/diff/202002/chrome/browser/sync/glue/a...
chrome/browser/sync/glue/autofill_profile_change_processor.h:85: //
TODO(lipalni) - generalize this and add it to other change processors.
On 2010/12/15 21:45:28, timsteele wrote:
> lipalni - lipalani

Done.

Powered by Google App Engine
This is Rietveld 408576698