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

Issue 777863002: Introduce new component webdata_services (Closed)

Created:
6 years ago by sdefresne
Modified:
6 years ago
CC:
benquan, browser-components-watch_chromium.org, chromium-reviews, Dane Wallinga, droger, dyu1, estade+watch_chromium.org, Ilya Sherman, maniscalco+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, rouslan+autofillwatch_chromium.org, tfarina, tim+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Introduce new component webdata_services Move WebDataServiceWrapper into its own component webdata_services so that the code can be shared with iOS. The code cannot go into webdata component since it depends on other components (autofill, password_manager, search_engine, signin) that depends on webdata (as they implements the WebDataService interface). BUG=437508 Committed: https://crrev.com/cb955cd06650ee281f745b5a86aff7864fe44066 Cr-Commit-Position: refs/heads/master@{#308451}

Patch Set 1 #

Patch Set 2 : Remove unnecessary DEPS on //ui, sort dependencies #

Total comments: 34

Patch Set 3 : Address comments & rebase #

Patch Set 4 : Fix compilation on android_aosp #

Patch Set 5 : Fix component build & gn build #

Total comments: 11

Patch Set 6 : Address comments #

Patch Set 7 : Compile as static_library instead of component #

Unified diffs Side-by-side diffs Delta from patch set Stats (+433 lines, -312 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/webdata/web_data_service_factory.h View 1 2 1 chunk +10 lines, -39 lines 0 comments Download
M chrome/browser/webdata/web_data_service_factory.cc View 1 2 8 chunks +53 lines, -120 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 2 chunks +1 line, -3 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 chunks +63 lines, -45 lines 0 comments Download
M components/OWNERS View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/autocomplete_history_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/components.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/webdata/DEPS View 1 chunk +1 line, -7 lines 0 comments Download
D components/webdata/common/web_data_service_test_util.h View 1 chunk +0 lines, -48 lines 0 comments Download
D components/webdata/common/web_data_service_test_util.cc View 1 chunk +0 lines, -40 lines 0 comments Download
A components/webdata_services.gypi View 1 2 3 4 5 6 1 chunk +48 lines, -0 lines 0 comments Download
A components/webdata_services/BUILD.gn View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
A components/webdata_services/DEPS View 1 1 chunk +10 lines, -0 lines 0 comments Download
A + components/webdata_services/OWNERS View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/webdata_services/web_data_service_test_util.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + components/webdata_services/web_data_service_test_util.cc View 2 chunks +3 lines, -4 lines 0 comments Download
A components/webdata_services/web_data_service_wrapper.h View 1 2 3 4 5 6 1 chunk +85 lines, -0 lines 0 comments Download
A components/webdata_services/web_data_service_wrapper.cc View 1 2 1 chunk +107 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (8 generated)
sdefresne
pkasting: please take a look blundell: OWNERS of //components for the addition of the new ...
6 years ago (2014-12-04 13:36:15 UTC) #2
blundell
//components lgtm I wonder if we could come up with a more descriptive name for ...
6 years ago (2014-12-04 13:44:42 UTC) #3
sdefresne
On 2014/12/04 at 17:21:51, sdefresne wrote: > sdefresne@chromium.org changed reviewers: > - thakis@chromium.org The dependency ...
6 years ago (2014-12-04 17:22:30 UTC) #5
erikwright (departed)
deps on sql/ LGTM
6 years ago (2014-12-05 16:56:24 UTC) #6
Peter Kasting
LGTM https://codereview.chromium.org/777863002/diff/20001/chrome/browser/webdata/web_data_service_factory.cc File chrome/browser/webdata/web_data_service_factory.cc (right): https://codereview.chromium.org/777863002/diff/20001/chrome/browser/webdata/web_data_service_factory.cc#newcode28 chrome/browser/webdata/web_data_service_factory.cc:28: using autofill::AutofillWebDataBackend; Nit: Avoid using directives unless they ...
6 years ago (2014-12-05 21:47:56 UTC) #7
sdefresne
Thank you for the review. https://codereview.chromium.org/777863002/diff/20001/chrome/browser/webdata/web_data_service_factory.cc File chrome/browser/webdata/web_data_service_factory.cc (right): https://codereview.chromium.org/777863002/diff/20001/chrome/browser/webdata/web_data_service_factory.cc#newcode28 chrome/browser/webdata/web_data_service_factory.cc:28: using autofill::AutofillWebDataBackend; On 2014/12/05 ...
6 years ago (2014-12-08 10:54:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/777863002/40001
6 years ago (2014-12-08 10:55:17 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/39768) chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/28783)
6 years ago (2014-12-08 10:59:16 UTC) #12
sdefresne
jochen: OWNERS of - chrome/browser/DEPS - chrome/browser/sync - chrome/test/base/testing_profile.cc
6 years ago (2014-12-08 11:07:52 UTC) #14
jochen (gone - plz use gerrit)
https://codereview.chromium.org/777863002/diff/80001/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (right): https://codereview.chromium.org/777863002/diff/80001/chrome/chrome_tests_unit.gypi#newcode1421 chrome/chrome_tests_unit.gypi:1421: '../components/webdata_services/web_data_service_test_util.cc', why aren't those compiled into components_unittests? https://codereview.chromium.org/777863002/diff/80001/components/webdata_services.gypi File ...
6 years ago (2014-12-09 15:43:17 UTC) #15
tfarina
https://codereview.chromium.org/777863002/diff/80001/components/webdata_services/BUILD.gn File components/webdata_services/BUILD.gn (right): https://codereview.chromium.org/777863002/diff/80001/components/webdata_services/BUILD.gn#newcode5 components/webdata_services/BUILD.gn:5: component("webdata_services") { could you run `gn check //components/webdata_services` if ...
6 years ago (2014-12-09 15:48:27 UTC) #16
jochen (gone - plz use gerrit)
https://codereview.chromium.org/777863002/diff/80001/components/webdata_services/BUILD.gn File components/webdata_services/BUILD.gn (right): https://codereview.chromium.org/777863002/diff/80001/components/webdata_services/BUILD.gn#newcode5 components/webdata_services/BUILD.gn:5: component("webdata_services") { uh, right, the GN configuration says component ...
6 years ago (2014-12-09 15:52:29 UTC) #17
sdefresne
PTAL https://codereview.chromium.org/777863002/diff/80001/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (right): https://codereview.chromium.org/777863002/diff/80001/chrome/chrome_tests_unit.gypi#newcode1421 chrome/chrome_tests_unit.gypi:1421: '../components/webdata_services/web_data_service_test_util.cc', On 2014/12/09 at 15:43:17, jochen (slow) wrote: ...
6 years ago (2014-12-12 16:53:37 UTC) #18
sdefresne
Forgot to say that the PTAL applied only to jochen.
6 years ago (2014-12-12 16:54:18 UTC) #19
jochen (gone - plz use gerrit)
lgtm
6 years ago (2014-12-15 15:34:12 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/777863002/120001
6 years ago (2014-12-15 18:36:03 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/8640)
6 years ago (2014-12-15 20:53:56 UTC) #24
sdefresne
On 2014/12/15 at 20:53:56, commit-bot wrote: > Try jobs failed on following builders: > win_chromium_rel_ng ...
6 years ago (2014-12-15 22:39:05 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/777863002/120001
6 years ago (2014-12-15 22:39:54 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years ago (2014-12-15 23:22:04 UTC) #28
commit-bot: I haz the power
6 years ago (2014-12-15 23:22:56 UTC) #29
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/cb955cd06650ee281f745b5a86aff7864fe44066
Cr-Commit-Position: refs/heads/master@{#308451}

Powered by Google App Engine
This is Rietveld 408576698