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

Issue 14679005: Create an AutofillBackend interface (Closed)

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

Description

Create an interface which SyncableServices can use for making changes directly on the Autofill DB. TBR=akalin@chromium.org (c/b/sync/) BUG=230920 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199904

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : Clean up #

Total comments: 19

Patch Set 4 : Convert delegate to interface #

Total comments: 25

Patch Set 5 : Comments pt 1 #

Total comments: 41

Patch Set 6 : Comments pt 2 #

Total comments: 14

Patch Set 7 : Comments pt 3 #

Total comments: 1

Patch Set 8 : Merge and nit #

Patch Set 9 : Oh right...exports #

Patch Set 10 : Merge to ToT #

Patch Set 11 : Fix dtor #

Patch Set 12 : Fix WIN #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -508 lines) Patch
M chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
M components/autofill.gypi View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/browser/webdata/autofill_webdata_backend.h View 1 2 3 4 5 6 7 1 chunk +19 lines, -107 lines 0 comments Download
D components/autofill/browser/webdata/autofill_webdata_backend.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -325 lines 0 comments Download
A + components/autofill/browser/webdata/autofill_webdata_backend_impl.h View 1 2 3 4 5 6 7 4 chunks +37 lines, -17 lines 0 comments Download
A + components/autofill/browser/webdata/autofill_webdata_backend_impl.cc View 1 2 3 4 5 6 7 19 chunks +46 lines, -24 lines 0 comments Download
M components/autofill/browser/webdata/autofill_webdata_service.h View 1 2 3 4 5 6 7 4 chunks +13 lines, -1 line 0 comments Download
M components/autofill/browser/webdata/autofill_webdata_service.cc View 1 2 3 4 5 6 7 7 chunks +38 lines, -18 lines 0 comments Download
M components/webdata/common/web_data_service_backend.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +20 lines, -4 lines 0 comments Download
M components/webdata/common/web_data_service_backend.cc View 1 2 3 4 5 6 1 chunk +22 lines, -5 lines 0 comments Download
M components/webdata/common/web_database_service.h View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M components/webdata/common/web_database_service.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Cait (Slow)
This patch provides a delegate which DBThreaded users of AutofillWebData (specifically the syncableServices) can use ...
7 years, 7 months ago (2013-05-06 22:20:52 UTC) #1
Jói
https://codereview.chromium.org/14679005/diff/10003/components/autofill/browser/webdata/autofill_webdata_backend.cc File components/autofill/browser/webdata/autofill_webdata_backend.cc (right): https://codereview.chromium.org/14679005/diff/10003/components/autofill/browser/webdata/autofill_webdata_backend.cc#newcode26 components/autofill/browser/webdata/autofill_webdata_backend.cc:26: class SyncableAutofillDelegate : public SyncableServiceDelegate { Do you expect ...
7 years, 7 months ago (2013-05-06 23:08:38 UTC) #2
Ilya Sherman
https://codereview.chromium.org/14679005/diff/10003/components/autofill/browser/webdata/autofill_webdata_backend.cc File components/autofill/browser/webdata/autofill_webdata_backend.cc (right): https://codereview.chromium.org/14679005/diff/10003/components/autofill/browser/webdata/autofill_webdata_backend.cc#newcode89 components/autofill/browser/webdata/autofill_webdata_backend.cc:89: }; nit: Please tuck this into an anonymous namespace. ...
7 years, 7 months ago (2013-05-07 00:02:42 UTC) #3
Jói
https://codereview.chromium.org/14679005/diff/10003/components/webdata/common/web_data_service_backend.cc File components/webdata/common/web_data_service_backend.cc (right): https://codereview.chromium.org/14679005/diff/10003/components/webdata/common/web_data_service_backend.cc#newcode101 components/webdata/common/web_data_service_backend.cc:101: callback.Run(db_.get()); On 2013/05/07 00:02:43, Ilya Sherman wrote: > This ...
7 years, 7 months ago (2013-05-07 09:56:10 UTC) #4
Cait (Slow)
Following Ilya's suggestion and a discussion with Jói this morning, I've changed the code so ...
7 years, 7 months ago (2013-05-07 19:22:07 UTC) #5
Jói
The approach looks good, I just have a bunch of nits and such. https://codereview.chromium.org/14679005/diff/10004/components/autofill/browser/webdata/autofill_webdata_backend.cc File ...
7 years, 7 months ago (2013-05-07 19:39:41 UTC) #6
Cait (Slow)
https://codereview.chromium.org/14679005/diff/10004/components/autofill/browser/webdata/autofill_webdata_backend.cc File components/autofill/browser/webdata/autofill_webdata_backend.cc (right): https://codereview.chromium.org/14679005/diff/10004/components/autofill/browser/webdata/autofill_webdata_backend.cc#newcode66 components/autofill/browser/webdata/autofill_webdata_backend.cc:66: if (!on_changed_callback_ .get()|| on_changed_callback_->is_null()) On 2013/05/07 19:39:41, Jói wrote: ...
7 years, 7 months ago (2013-05-07 20:14:56 UTC) #7
Jói
https://codereview.chromium.org/14679005/diff/10004/components/autofill/browser/webdata/syncable_service_backend.h File components/autofill/browser/webdata/syncable_service_backend.h (right): https://codereview.chromium.org/14679005/diff/10004/components/autofill/browser/webdata/syncable_service_backend.h#newcode16 components/autofill/browser/webdata/syncable_service_backend.h:16: class SyncableServiceBackend { On 2013/05/07 20:14:56, caitkp wrote: > ...
7 years, 7 months ago (2013-05-07 20:19:15 UTC) #8
Ilya Sherman
https://codereview.chromium.org/14679005/diff/9005/components/autofill/browser/webdata/autofill_webdata_backend.cc File components/autofill/browser/webdata/autofill_webdata_backend.cc (right): https://codereview.chromium.org/14679005/diff/9005/components/autofill/browser/webdata/autofill_webdata_backend.cc#newcode46 components/autofill/browser/webdata/autofill_webdata_backend.cc:46: if (!web_database_backend_) Why is it possible for web_database_backend_ to ...
7 years, 7 months ago (2013-05-08 00:39:05 UTC) #9
Cait (Slow)
https://codereview.chromium.org/14679005/diff/9005/components/autofill/browser/webdata/autofill_webdata_backend.cc File components/autofill/browser/webdata/autofill_webdata_backend.cc (right): https://codereview.chromium.org/14679005/diff/9005/components/autofill/browser/webdata/autofill_webdata_backend.cc#newcode46 components/autofill/browser/webdata/autofill_webdata_backend.cc:46: if (!web_database_backend_) On 2013/05/08 00:39:06, Ilya Sherman wrote: > ...
7 years, 7 months ago (2013-05-08 19:16:01 UTC) #10
Ilya Sherman
Thanks, getting close :) https://codereview.chromium.org/14679005/diff/36001/components/autofill/browser/webdata/autofill_webdata_backend_impl.cc File components/autofill/browser/webdata/autofill_webdata_backend_impl.cc (right): https://codereview.chromium.org/14679005/diff/36001/components/autofill/browser/webdata/autofill_webdata_backend_impl.cc#newcode29 components/autofill/browser/webdata/autofill_webdata_backend_impl.cc:29: on_changed_callback_(new base::Closure(on_changed_callback)) { nit: Why ...
7 years, 7 months ago (2013-05-09 05:04:24 UTC) #11
Cait (Slow)
https://codereview.chromium.org/14679005/diff/36001/components/autofill/browser/webdata/autofill_webdata_backend_impl.cc File components/autofill/browser/webdata/autofill_webdata_backend_impl.cc (right): https://codereview.chromium.org/14679005/diff/36001/components/autofill/browser/webdata/autofill_webdata_backend_impl.cc#newcode29 components/autofill/browser/webdata/autofill_webdata_backend_impl.cc:29: on_changed_callback_(new base::Closure(on_changed_callback)) { On 2013/05/09 05:04:24, Ilya Sherman wrote: ...
7 years, 7 months ago (2013-05-09 18:29:54 UTC) #12
Ilya Sherman
LGTM with green bots, thanks :) https://codereview.chromium.org/14679005/diff/45001/components/webdata/common/web_data_service_backend.h File components/webdata/common/web_data_service_backend.h (right): https://codereview.chromium.org/14679005/diff/45001/components/webdata/common/web_data_service_backend.h#newcode78 components/webdata/common/web_data_service_backend.h:78: // Task runners ...
7 years, 7 months ago (2013-05-10 00:08:00 UTC) #13
Cait (Slow)
ping: Jói -- for components/webdata/ changes Cheers, Cait On 2013/05/10 00:08:00, Ilya Sherman wrote: > ...
7 years, 7 months ago (2013-05-13 14:58:00 UTC) #14
Jói
LGTM On Mon, May 13, 2013 at 3:58 PM, <caitkp@chromium.org> wrote: > ping: Jói -- ...
7 years, 7 months ago (2013-05-13 15:06:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/14679005/71002
7 years, 7 months ago (2013-05-13 16:09:19 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-13 17:49:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/14679005/81001
7 years, 7 months ago (2013-05-13 18:06:04 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-13 19:33:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/14679005/83002
7 years, 7 months ago (2013-05-13 19:39:53 UTC) #20
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=127152
7 years, 7 months ago (2013-05-13 20:31:08 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/14679005/83002
7 years, 7 months ago (2013-05-13 21:00:22 UTC) #22
commit-bot: I haz the power
7 years, 7 months ago (2013-05-14 04:58:48 UTC) #23
Message was sent while issue was closed.
Change committed as 199904

Powered by Google App Engine
This is Rietveld 408576698