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

Issue 12494020: Remove knowledge of Chrome-specific SyncableService classes from WebDataService. (Closed)

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

Description

Remove knowledge of Chrome-specific SyncableService classes from WebDataService. TBR=tim@chromium.org BUG=181277 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189474

Patch Set 1 #

Total comments: 2

Patch Set 2 : Switch to WebContentsUserData-like model for using SupportsUserData. #

Patch Set 3 : Drop SupportsUserData change. #

Patch Set 4 : Add DCHECK. #

Total comments: 2

Patch Set 5 : Merge to parent and head. #

Patch Set 6 : Fix a unit test bug, use safer keys for SupportsUserData. #

Total comments: 6

Patch Set 7 : Address review comments. #

Patch Set 8 : Fix unit test in debug mode. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -149 lines) Patch
M chrome/browser/api/webdata/web_data_service_base.h View 1 2 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc View 1 2 3 4 5 6 7 4 chunks +11 lines, -25 lines 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 2 3 4 4 chunks +6 lines, -26 lines 0 comments Download
M chrome/browser/webdata/autocomplete_syncable_service.h View 1 3 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/webdata/autocomplete_syncable_service.cc View 1 2 3 4 5 6 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/webdata/autofill_profile_syncable_service.h View 1 4 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/webdata/autofill_profile_syncable_service.cc View 1 2 3 4 5 6 2 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_data_service.h View 1 2 3 4 4 chunks +1 line, -28 lines 0 comments Download
M chrome/browser/webdata/web_data_service.cc View 1 2 5 chunks +3 lines, -62 lines 0 comments Download
M chrome/browser/webdata/web_data_service_base.cc View 1 2 3 4 5 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_data_service_factory.cc View 1 2 3 4 3 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Jói
caitkp: Main reviewer, for an early look, this is not quite ready. rsleevi: Because this ...
7 years, 9 months ago (2013-03-18 17:46:40 UTC) #1
Ryan Sleevi
Joi: The context was that there were (are? I'd need to check) a number of ...
7 years, 9 months ago (2013-03-18 18:41:48 UTC) #2
Jói
OK, makes sense for this and other classes that are designed to be inherited. In ...
7 years, 9 months ago (2013-03-18 19:18:54 UTC) #3
Ilya Sherman
https://codereview.chromium.org/12494020/diff/1/chrome/browser/webdata/autocomplete_syncable_service.h File chrome/browser/webdata/autocomplete_syncable_service.h (right): https://codereview.chromium.org/12494020/diff/1/chrome/browser/webdata/autocomplete_syncable_service.h#newcode55 chrome/browser/webdata/autocomplete_syncable_service.h:55: WebDataServiceBase* web_data); Why not follow the pattern used elsewhere ...
7 years, 9 months ago (2013-03-18 21:24:47 UTC) #4
Jói
https://codereview.chromium.org/12494020/diff/1/chrome/browser/webdata/autocomplete_syncable_service.h File chrome/browser/webdata/autocomplete_syncable_service.h (right): https://codereview.chromium.org/12494020/diff/1/chrome/browser/webdata/autocomplete_syncable_service.h#newcode55 chrome/browser/webdata/autocomplete_syncable_service.h:55: WebDataServiceBase* web_data); On 2013/03/18 21:24:48, Ilya Sherman wrote: > ...
7 years, 9 months ago (2013-03-18 22:11:34 UTC) #5
Jói
I've addressed rsleevi@ and isherman@'s suggestions. Adding reviewers: dhollowa: OWNERS approval for chrome/browser/webdata. tim: OWNERS ...
7 years, 9 months ago (2013-03-18 23:46:19 UTC) #6
Ilya Sherman
7 years, 9 months ago (2013-03-18 23:53:45 UTC) #7
Ilya Sherman
Erm, meant to say "thanks", and remove myself from the list of reviewers (my comment ...
7 years, 9 months ago (2013-03-18 23:54:24 UTC) #8
Cait (Slow)
https://codereview.chromium.org/12494020/diff/9001/chrome/browser/webdata/autofill_profile_syncable_service.cc File chrome/browser/webdata/autofill_profile_syncable_service.cc (right): https://codereview.chromium.org/12494020/diff/9001/chrome/browser/webdata/autofill_profile_syncable_service.cc#newcode62 chrome/browser/webdata/autofill_profile_syncable_service.cc:62: WebDataService* web_data) { It seems like the syncable services ...
7 years, 9 months ago (2013-03-19 19:49:46 UTC) #9
Cait (Slow)
https://codereview.chromium.org/12494020/diff/9001/chrome/browser/webdata/autofill_profile_syncable_service.cc File chrome/browser/webdata/autofill_profile_syncable_service.cc (right): https://codereview.chromium.org/12494020/diff/9001/chrome/browser/webdata/autofill_profile_syncable_service.cc#newcode62 chrome/browser/webdata/autofill_profile_syncable_service.cc:62: WebDataService* web_data) { On 2013/03/19 19:49:46, caitkp wrote: > ...
7 years, 9 months ago (2013-03-19 20:24:24 UTC) #10
Jói
SGTM, thanks. On Tue, Mar 19, 2013 at 8:24 PM, <caitkp@chromium.org> wrote: > > https://codereview.chromium.org/12494020/diff/9001/chrome/browser/webdata/autofill_profile_syncable_service.cc ...
7 years, 9 months ago (2013-03-19 20:27:15 UTC) #11
dhollowa
LGTM w/ nits. chrome/browser/webdata/... https://codereview.chromium.org/12494020/diff/20001/chrome/browser/webdata/autocomplete_syncable_service.cc File chrome/browser/webdata/autocomplete_syncable_service.cc (right): https://codereview.chromium.org/12494020/diff/20001/chrome/browser/webdata/autocomplete_syncable_service.cc#newcode83 chrome/browser/webdata/autocomplete_syncable_service.cc:83: int user_data_key = 0; nit: ...
7 years, 9 months ago (2013-03-20 21:47:37 UTC) #12
Jói
https://codereview.chromium.org/12494020/diff/20001/chrome/browser/webdata/autocomplete_syncable_service.cc File chrome/browser/webdata/autocomplete_syncable_service.cc (right): https://codereview.chromium.org/12494020/diff/20001/chrome/browser/webdata/autocomplete_syncable_service.cc#newcode83 chrome/browser/webdata/autocomplete_syncable_service.cc:83: int user_data_key = 0; On 2013/03/20 21:47:37, dhollowa wrote: ...
7 years, 9 months ago (2013-03-20 22:03:15 UTC) #13
Jói
TBR=tim@chromium.org for chrome/browser/sync changes. I thought I had added you as a reviewer yesterday, but ...
7 years, 9 months ago (2013-03-20 23:46:12 UTC) #14
Jói
Committed patchset #8 manually as r189474 (presubmit successful).
7 years, 9 months ago (2013-03-20 23:51:14 UTC) #15
tim (not reviewing)
7 years, 9 months ago (2013-03-21 23:39:01 UTC) #16
Message was sent while issue was closed.
sync/ LGTM

Powered by Google App Engine
This is Rietveld 408576698