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

Issue 12871006: Second try at splitting WebDataService (minus ownership changes) (Closed)

Created:
7 years, 9 months ago by Cait (Slow)
Modified:
7 years, 9 months ago
Reviewers:
Jói, dhollowa
CC:
chromium-reviews, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, Albert Bodenhamer, estade+watch_chromium.org, Ilya Sherman, kaiwang
Visibility:
Public.

Description

Second try at splitting WebDataService (minus ownership changes) Split Database handling into a separate class, but keep it owned by WebDataService, to avoid it disappearing out from under us (crbug.com/181628). TBR=ben@chromium.org,sky@chromium.org TEST= unit_tests BUG=181277 COLLABORATOR=joi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188935 Rolled back as r188951. Relanding with fixes. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189030

Patch Set 1 : Add new files #

Patch Set 2 : Fix WIN and hopefully leaks #

Patch Set 3 : WIN test fix #

Patch Set 4 : fix WIN paths #

Total comments: 52

Patch Set 5 : Respond to comments #

Patch Set 6 : Missed a couple #

Total comments: 28

Patch Set 7 : More leak-fixes and comments #

Patch Set 8 : Pure merge #

Patch Set 9 : Chromeos unit test fix #

Patch Set 10 : Speculative fix for templateURLService test fails #

Patch Set 11 : Merge to head for commit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+729 lines, -522 lines) Patch
M chrome/browser/password_manager/password_store_win_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/search_engines/template_url_service_test_util.h View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_test_util.cc View 1 2 3 4 5 6 7 8 9 7 chunks +32 lines, -84 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/webdata/web_data_service.h View 1 2 3 4 12 chunks +80 lines, -115 lines 0 comments Download
M chrome/browser/webdata/web_data_service.cc View 1 2 3 4 5 6 22 chunks +216 lines, -296 lines 0 comments Download
M chrome/browser/webdata/web_data_service_factory.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/webdata/web_data_service_unittest.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/webdata/web_data_service_win.cc View 1 1 chunk +20 lines, -16 lines 0 comments Download
M chrome/browser/webdata/web_database.h View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/webdata/web_database_service.h View 1 2 3 4 5 6 1 chunk +94 lines, -0 lines 0 comments Download
A chrome/browser/webdata/web_database_service.cc View 1 2 3 4 5 6 1 chunk +262 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Cait (Slow)
David: I ended up having to revert r186824 last night (the first attempt at splitting ...
7 years, 9 months ago (2013-03-15 00:57:23 UTC) #1
Jói
I took a quick look and I'm pretty sure this works fine with the other ...
7 years, 9 months ago (2013-03-15 17:07:58 UTC) #2
dhollowa
https://codereview.chromium.org/12871006/diff/18001/chrome/browser/webdata/web_data_service.cc File chrome/browser/webdata/web_data_service.cc (right): https://codereview.chromium.org/12871006/diff/18001/chrome/browser/webdata/web_data_service.cc#newcode87 chrome/browser/webdata/web_data_service.cc:87: wdbs_.reset(NULL); Not needed. scoped_ptr starts out NULL. https://codereview.chromium.org/12871006/diff/18001/chrome/browser/webdata/web_data_service.cc#newcode115 chrome/browser/webdata/web_data_service.cc:115: ...
7 years, 9 months ago (2013-03-15 18:56:20 UTC) #3
Cait (Slow)
https://codereview.chromium.org/12871006/diff/18001/chrome/browser/webdata/web_data_service.cc File chrome/browser/webdata/web_data_service.cc (right): https://codereview.chromium.org/12871006/diff/18001/chrome/browser/webdata/web_data_service.cc#newcode87 chrome/browser/webdata/web_data_service.cc:87: wdbs_.reset(NULL); On 2013/03/15 18:56:21, dhollowa wrote: > Not needed. ...
7 years, 9 months ago (2013-03-15 20:43:59 UTC) #4
dhollowa
https://codereview.chromium.org/12871006/diff/35001/chrome/browser/webdata/web_data_service.cc File chrome/browser/webdata/web_data_service.cc (right): https://codereview.chromium.org/12871006/diff/35001/chrome/browser/webdata/web_data_service.cc#newcode113 chrome/browser/webdata/web_data_service.cc:113: wdbs_->LoadDatabase( nit: Fits on one line. https://codereview.chromium.org/12871006/diff/35001/chrome/browser/webdata/web_data_service.cc#newcode121 chrome/browser/webdata/web_data_service.cc:121: if ...
7 years, 9 months ago (2013-03-15 23:50:30 UTC) #5
Cait (Slow)
https://codereview.chromium.org/12871006/diff/35001/chrome/browser/webdata/web_data_service.cc File chrome/browser/webdata/web_data_service.cc (right): https://codereview.chromium.org/12871006/diff/35001/chrome/browser/webdata/web_data_service.cc#newcode113 chrome/browser/webdata/web_data_service.cc:113: wdbs_->LoadDatabase( On 2013/03/15 23:50:31, dhollowa wrote: > nit: Fits ...
7 years, 9 months ago (2013-03-16 21:34:21 UTC) #6
Jói
Thanks for keeping this going over the weekend Cait. I took a better look and ...
7 years, 9 months ago (2013-03-17 08:58:37 UTC) #7
dhollowa
LGTM. Thanks.
7 years, 9 months ago (2013-03-18 17:29:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/12871006/56001
7 years, 9 months ago (2013-03-18 18:43:10 UTC) #9
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=45594
7 years, 9 months ago (2013-03-18 20:08:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/12871006/54003
7 years, 9 months ago (2013-03-18 20:57:32 UTC) #11
commit-bot: I haz the power
Change committed as 188935
7 years, 9 months ago (2013-03-19 03:18:49 UTC) #12
Jói
7 years, 9 months ago (2013-03-19 16:12:12 UTC) #13
Message was sent while issue was closed.
Committed patchset #11 manually as r189030 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698