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

Issue 12476031: Refactor notifications of chrome/browser/webdata (Closed)

Created:
7 years, 9 months ago by kaiwang
Modified:
7 years, 9 months ago
CC:
chromium-reviews, Raman Kakilate, akalin, Raghu Simha, benquan, dhollowa+watch_chromium.org, ahutter, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, Albert Bodenhamer, estade+watch_chromium.org, haitaol1, Ilya Sherman, tim (not reviewing)
Visibility:
Public.

Description

Refactor notifications from webdata Use a simplified, typed system BUG=181277 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191314

Patch Set 1 #

Patch Set 2 : Minor change #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase again #

Total comments: 34

Patch Set 5 : Fix sync tests #

Patch Set 6 : Clean up #

Patch Set 7 : Fix unit_tests #

Patch Set 8 : Address comments #

Total comments: 1

Patch Set 9 : Fix tests #

Total comments: 2

Patch Set 10 : Rebase #

Patch Set 11 : Address comment #

Patch Set 12 : Rebase #

Patch Set 13 : rebase #

Patch Set 14 : Merge with all recent changes in webdata #

Patch Set 15 : Fix tests #

Patch Set 16 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+468 lines, -539 lines) Patch
M chrome/browser/api/webdata/web_data_service_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/search_engines/template_url_service_android.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +11 lines, -14 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -10 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_data_type_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_data_type_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +24 lines, -19 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 12 chunks +70 lines, -42 lines 0 comments Download
M chrome/browser/sync/test/integration/autofill_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +43 lines, -32 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/webdata/autocomplete_syncable_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/webdata/autocomplete_syncable_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +8 lines, -20 lines 0 comments Download
M chrome/browser/webdata/autofill_change.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/webdata/autofill_profile_syncable_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/webdata/autofill_profile_syncable_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +10 lines, -21 lines 0 comments Download
M chrome/browser/webdata/autofill_table_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/webdata/autofill_web_data_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +21 lines, -8 lines 0 comments Download
M chrome/browser/webdata/autofill_web_data_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14 chunks +89 lines, -78 lines 0 comments Download
A chrome/browser/webdata/autofill_web_data_service_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_data_service_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +5 lines, -17 lines 0 comments Download
M chrome/browser/webdata/web_data_service_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/webdata/web_data_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 chunks +59 lines, -87 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_notification_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -21 lines 0 comments Download
D chrome/test/base/thread_observer_helper.h View 1 2 3 4 5 1 chunk +0 lines, -80 lines 0 comments Download
M components/autofill/browser/autofill_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/browser/autofill_metrics_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +18 lines, -15 lines 0 comments Download
M components/autofill/browser/personal_data_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +5 lines, -13 lines 0 comments Download
M components/autofill/browser/personal_data_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +14 lines, -20 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
kaiwang
7 years, 9 months ago (2013-03-12 03:58:34 UTC) #1
dhollowa
+joi Linux bots complain of compile errror. https://codereview.chromium.org/12476031/diff/7001/chrome/browser/api/webdata/web_data_service_base.h File chrome/browser/api/webdata/web_data_service_base.h (right): https://codereview.chromium.org/12476031/diff/7001/chrome/browser/api/webdata/web_data_service_base.h#newcode8 chrome/browser/api/webdata/web_data_service_base.h:8: #include "content/public/browser/notification_source.h" ...
7 years, 9 months ago (2013-03-12 22:22:28 UTC) #2
Jói
https://codereview.chromium.org/12476031/diff/7001/chrome/browser/webdata/autofill_web_data_service_impl.h File chrome/browser/webdata/autofill_web_data_service_impl.h (right): https://codereview.chromium.org/12476031/diff/7001/chrome/browser/webdata/autofill_web_data_service_impl.h#newcode45 chrome/browser/webdata/autofill_web_data_service_impl.h:45: // AutofillWebDataService implementation. On 2013/03/12 22:22:28, dhollowa wrote: > ...
7 years, 9 months ago (2013-03-12 22:28:18 UTC) #3
Jói
I took a look at the rest of the change, couple of comments below. Cheers, ...
7 years, 9 months ago (2013-03-12 23:27:34 UTC) #4
kaiwang
https://codereview.chromium.org/12476031/diff/7001/chrome/browser/api/webdata/web_data_service_base.h File chrome/browser/api/webdata/web_data_service_base.h (right): https://codereview.chromium.org/12476031/diff/7001/chrome/browser/api/webdata/web_data_service_base.h#newcode8 chrome/browser/api/webdata/web_data_service_base.h:8: #include "content/public/browser/notification_source.h" On 2013/03/12 22:22:28, dhollowa wrote: > Is ...
7 years, 9 months ago (2013-03-13 04:57:20 UTC) #5
dhollowa
ProfileSyncServiceAutofillTest.HasProfileEmptySync is failing. https://codereview.chromium.org/12476031/diff/7001/chrome/browser/webdata/web_data_service.h File chrome/browser/webdata/web_data_service.h (right): https://codereview.chromium.org/12476031/diff/7001/chrome/browser/webdata/web_data_service.h#newcode325 chrome/browser/webdata/web_data_service.h:325: void NotifyDatabaseLoadedOnUIThread(); On 2013/03/13 04:57:20, kaiwang ...
7 years, 9 months ago (2013-03-13 16:15:28 UTC) #6
dhollowa
https://codereview.chromium.org/12476031/diff/42001/chrome/browser/sync/profile_sync_service_autofill_unittest.cc File chrome/browser/sync/profile_sync_service_autofill_unittest.cc (right): https://codereview.chromium.org/12476031/diff/42001/chrome/browser/sync/profile_sync_service_autofill_unittest.cc#newcode922 chrome/browser/sync/profile_sync_service_autofill_unittest.cc:922: TEST_F(ProfileSyncServiceAutofillTest, HasProfileEmptySync) { This is failing.
7 years, 9 months ago (2013-03-13 16:17:09 UTC) #7
kaiwang
A few testing is failing, since the PersonalDataManager now depends on ProfileKeyedService. Looking into them... ...
7 years, 9 months ago (2013-03-13 17:27:40 UTC) #8
kaiwang
Please take another look, thanks!
7 years, 9 months ago (2013-03-13 22:17:18 UTC) #9
dhollowa
LGTM. I focused on webdata and autofill. Please seek review by sync owner. https://codereview.chromium.org/12476031/diff/7001/components/autofill/browser/personal_data_manager.cc File ...
7 years, 9 months ago (2013-03-14 00:35:17 UTC) #10
kaiwang
OWNERS, please review akalin: c/b/browser/sync joi: c/b/browser/api jam: chrome/ chrome/common and chrome/test Thanks a lot!
7 years, 9 months ago (2013-03-14 01:02:38 UTC) #11
Jói
LGTM for chrome/browser/api.
7 years, 9 months ago (2013-03-14 01:11:25 UTC) #12
jam
On 2013/03/14 01:02:38, kaiwang wrote: > OWNERS, please review > > akalin: c/b/browser/sync > joi: ...
7 years, 9 months ago (2013-03-14 16:09:44 UTC) #13
Nicolas Zea
sync/ LGTM with one nit https://codereview.chromium.org/12476031/diff/79001/chrome/browser/sync/glue/autofill_data_type_controller.cc File chrome/browser/sync/glue/autofill_data_type_controller.cc (right): https://codereview.chromium.org/12476031/diff/79001/chrome/browser/sync/glue/autofill_data_type_controller.cc#newcode45 chrome/browser/sync/glue/autofill_data_type_controller.cc:45: if (web_data_service_) move above ...
7 years, 9 months ago (2013-03-14 22:03:30 UTC) #14
kaiwang
https://codereview.chromium.org/12476031/diff/79001/chrome/browser/sync/glue/autofill_data_type_controller.cc File chrome/browser/sync/glue/autofill_data_type_controller.cc (right): https://codereview.chromium.org/12476031/diff/79001/chrome/browser/sync/glue/autofill_data_type_controller.cc#newcode45 chrome/browser/sync/glue/autofill_data_type_controller.cc:45: if (web_data_service_) On 2013/03/14 22:03:30, Nicolas Zea wrote: > ...
7 years, 9 months ago (2013-03-14 22:11:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/12476031/100002
7 years, 9 months ago (2013-03-15 21:33:07 UTC) #16
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=20569
7 years, 9 months ago (2013-03-16 04:40:55 UTC) #17
dhollowa
SLGTM, but please review DEPS warnings at: https://chromium-status.appspot.com/cq/kaiwang%40chromium.org/12476031/100002 Problem?
7 years, 9 months ago (2013-03-27 20:55:08 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/12476031/145001
7 years, 9 months ago (2013-03-27 21:47:55 UTC) #19
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-27 21:58:10 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/12476031/145001
7 years, 9 months ago (2013-03-27 23:21:42 UTC) #21
commit-bot: I haz the power
Failed to trigger a try job on linux_chromeos HTTP Error 400: Bad Request
7 years, 9 months ago (2013-03-27 23:50:30 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/12476031/171001
7 years, 9 months ago (2013-03-28 21:40:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/12476031/199001
7 years, 9 months ago (2013-03-28 23:45:22 UTC) #24
commit-bot: I haz the power
Failed to apply patch for chrome/browser/webdata/web_data_service_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-28 23:45:32 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/12476031/203001
7 years, 9 months ago (2013-03-29 00:51:05 UTC) #26
commit-bot: I haz the power
7 years, 9 months ago (2013-03-29 06:08:09 UTC) #27
Message was sent while issue was closed.
Change committed as 191314

Powered by Google App Engine
This is Rietveld 408576698