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

Issue 12853004: Move creation of WebDatabaseTable subclasses to WebDatabaseServiceFactory. (Closed)

Created:
7 years, 9 months ago by Jói
Modified:
7 years, 9 months ago
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
Visibility:
Public.

Description

Move creation of WebDatabaseTable subclasses to WebDatabaseServiceFactory. Ownership still needs to stay with WebDatabaseService, but since WDS is intended to move out of //chrome, it must not know about all the individual types. TBR=isherman@chromium.org COLLABORATOR=caitkp@chromium.org COLLABORATOR=kaiwang@chromium.org BUG=181277 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189721 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190277

Patch Set 1 #

Patch Set 2 : Self review. #

Patch Set 3 : Merge to parent and head. #

Total comments: 1

Patch Set 4 : Fix path snafu. #

Total comments: 8

Patch Set 5 : address comments #

Patch Set 6 : Fix broken unit test, and Windows build issue. #

Patch Set 7 : Merge to head for commit. #

Patch Set 8 : Fix Win build. #

Patch Set 9 : Merge to head again. #

Patch Set 10 : Merge to head for commit. #

Patch Set 11 : Fix WIN test #

Total comments: 1

Patch Set 12 : Add a table so win tests work #

Patch Set 13 : Merge to head mainly to get a clean CQ start. #

Patch Set 14 : Put back Cait's fix for win test. #

Patch Set 15 : Merge to head for another try to commit. #

Patch Set 16 : Fix merge error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -54 lines) Patch
M chrome/browser/api/webdata/web_data_service_base.h View 1 2 3 4 4 chunks +18 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 13 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/webdata/autofill_web_data_service_impl.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/webdata/web_data_service.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/webdata/web_data_service.cc View 1 2 3 2 chunks +4 lines, -3 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 2 chunks +11 lines, -3 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 2 chunks +30 lines, -2 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 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/webdata/web_database_service.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_database_service.cc View 1 2 3 4 6 chunks +31 lines, -38 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
Jói
Hi Cait, Does this make sense to you? I realize it will conflict with your ...
7 years, 9 months ago (2013-03-13 23:32:35 UTC) #1
Cait (Slow)
I agree. I think in order to merge with my change all we will have ...
7 years, 9 months ago (2013-03-13 23:45:06 UTC) #2
Cait (Slow)
lgtm
7 years, 9 months ago (2013-03-19 05:30:50 UTC) #3
Cait (Slow)
https://codereview.chromium.org/12853004/diff/16001/chrome/browser/webdata/web_data_service_base.cc File chrome/browser/webdata/web_data_service_base.cc (right): https://codereview.chromium.org/12853004/diff/16001/chrome/browser/webdata/web_data_service_base.cc#newcode51 chrome/browser/webdata/web_data_service_base.cc:51: wdbs_.reset(new WebDatabaseService(path)); I think we can just add a ...
7 years, 9 months ago (2013-03-21 00:01:56 UTC) #4
Jói
Yep, I'll do it that way, thanks. On Thu, Mar 21, 2013 at 12:01 AM, ...
7 years, 9 months ago (2013-03-21 00:03:14 UTC) #5
Jói
caitkp: Main reviewer, PTAL. dhollowa: OWNERS stamp please. Cheers, Jói
7 years, 9 months ago (2013-03-21 00:17:12 UTC) #6
Cait (Slow)
lgtm (with a couple nits) Cheers, Cait https://codereview.chromium.org/12853004/diff/21001/chrome/browser/api/webdata/web_data_service_base.h File chrome/browser/api/webdata/web_data_service_base.h (right): https://codereview.chromium.org/12853004/diff/21001/chrome/browser/api/webdata/web_data_service_base.h#newcode42 chrome/browser/api/webdata/web_data_service_base.h:42: explicit WebDataServiceBase(const ...
7 years, 9 months ago (2013-03-21 00:37:49 UTC) #7
dhollowa
lgtm https://codereview.chromium.org/12853004/diff/21001/chrome/browser/webdata/web_data_service_factory.cc File chrome/browser/webdata/web_data_service_factory.cc (right): https://codereview.chromium.org/12853004/diff/21001/chrome/browser/webdata/web_data_service_factory.cc#newcode55 chrome/browser/webdata/web_data_service_factory.cc:55: // All tables objects that participate in managing ...
7 years, 9 months ago (2013-03-21 01:37:03 UTC) #8
kaiwang
Help Joi to address comments: https://codereview.chromium.org/12853004/diff/21001/chrome/browser/api/webdata/web_data_service_base.h File chrome/browser/api/webdata/web_data_service_base.h (right): https://codereview.chromium.org/12853004/diff/21001/chrome/browser/api/webdata/web_data_service_base.h#newcode42 chrome/browser/api/webdata/web_data_service_base.h:42: explicit WebDataServiceBase(const base::FilePath& path, ...
7 years, 9 months ago (2013-03-21 06:30:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/29001
7 years, 9 months ago (2013-03-21 06:35:01 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=109714
7 years, 9 months ago (2013-03-21 07:46:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/58002
7 years, 9 months ago (2013-03-21 09:51:41 UTC) #12
commit-bot: I haz the power
Presubmit check for 12853004-58002 failed and returned exit status 1. INFO:root:Found 10 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-21 09:51:49 UTC) #13
Jói
TBR=isherman@chromium.org for trivial usage update to password_store_win_unittest.cc. Cheers, Jói
7 years, 9 months ago (2013-03-21 10:28:40 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/60002
7 years, 9 months ago (2013-03-21 10:30:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/65002
7 years, 9 months ago (2013-03-21 22:22:17 UTC) #16
Jói
Committed patchset #10 manually as r189721 (presubmit successful).
7 years, 9 months ago (2013-03-22 00:04:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/78001
7 years, 9 months ago (2013-03-22 03:43:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/78001
7 years, 9 months ago (2013-03-22 13:31:58 UTC) #19
Cait (Slow)
https://codereview.chromium.org/12853004/diff/78001/chrome/browser/password_manager/password_store_win_unittest.cc File chrome/browser/password_manager/password_store_win_unittest.cc (right): https://codereview.chromium.org/12853004/diff/78001/chrome/browser/password_manager/password_store_win_unittest.cc#newcode119 chrome/browser/password_manager/password_store_win_unittest.cc:119: WebDataServiceBase::ProfileErrorCallback()); I just realized we need to manually add ...
7 years, 9 months ago (2013-03-22 14:59:33 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/69003
7 years, 9 months ago (2013-03-22 15:29:24 UTC) #21
Jói
Thanks Cait. I had half given up on landing this change today because of the ...
7 years, 9 months ago (2013-03-22 16:50:22 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/69003
7 years, 9 months ago (2013-03-22 18:55:48 UTC) #23
commit-bot: I haz the power
Failed to trigger a try job on linux_aura HTTP Error 400: Bad Request
7 years, 9 months ago (2013-03-23 14:00:51 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/94001
7 years, 9 months ago (2013-03-23 14:01:12 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/94001
7 years, 9 months ago (2013-03-23 15:39:32 UTC) #26
commit-bot: I haz the power
Failed to trigger a try job on win7_aura HTTP Error 400: Bad Request
7 years, 9 months ago (2013-03-23 17:28:56 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/106001
7 years, 9 months ago (2013-03-23 17:29:13 UTC) #28
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=126720
7 years, 9 months ago (2013-03-23 19:58:55 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/107001
7 years, 9 months ago (2013-03-24 13:22:12 UTC) #30
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-24 13:29:02 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12853004/116002
7 years, 9 months ago (2013-03-24 13:40:58 UTC) #32
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-24 14:52:17 UTC) #33
Jói
7 years, 9 months ago (2013-03-24 17:13:57 UTC) #34
Message was sent while issue was closed.
Committed patchset #16 manually as r190277 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698