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

Issue 10910071: Extract abstract base to API directory for ProfileSyncService. (Closed)

Created:
8 years, 3 months ago by Jói
Modified:
8 years, 3 months ago
CC:
chromium-reviews, ncarter (slow), mihaip-chromium-reviews_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, ben+watch_chromium.org, dhollowa+watch_chromium.org, stevenjb+watch_chromium.org, browser-components-watch_chromium.org, Aaron Boodman, dyu1, Raghu Simha, sadrul, Ilya Sherman, davemoore+watch_chromium.org, akalin
Visibility:
Public.

Description

Extract abstract base to API directory for ProfileSyncService. Move ProfileSyncServiceObserver to API directory. Use these to break Autofill's concrete dependency on ProfileSyncService. Remove last usages of Profile in Autofill code (modulo usage in one file that I expect will be moved to chrome/browser/configuration). TBR=ben@chromium.org,mechanicalowners@chromium.org BUG=140037 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157563

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Patch Set 4 : Merge LKGR #

Total comments: 12

Patch Set 5 : Respond to review comments. #

Patch Set 6 : Respond to review comments. #

Patch Set 7 : Merge to parent #

Patch Set 8 : Merge to LKGR #

Patch Set 9 : Fix unit tests. #

Patch Set 10 : More unit test fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -127 lines) Patch
A chrome/browser/api/sync/DEPS View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A + chrome/browser/api/sync/OWNERS View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/browser/api/sync/profile_sync_service_base.h View 1 2 3 4 5 1 chunk +47 lines, -0 lines 0 comments Download
A + chrome/browser/api/sync/profile_sync_service_observer.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/autofill/DEPS View 1 2 3 4 5 6 4 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/autofill/autofill_external_delegate_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 7 chunks +12 lines, -19 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_delegate.h View 1 2 3 4 5 6 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/autofill/autofill_metrics_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/autofill/personal_data_manager.h View 1 2 3 4 5 6 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/autofill/personal_data_manager.cc View 1 2 3 4 5 6 5 chunks +10 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/app_notify_channel_ui_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/signin_tracker.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 3 4 5 6 7 9 chunks +14 lines, -24 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_factory.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.h View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/sync/profile_sync_service_observer.h View 1 chunk +0 lines, -23 lines 0 comments Download
M chrome/browser/sync/profile_sync_test_util.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sync_global_error.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sync_global_error.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/tab_autofill_manager_delegate.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc View 1 2 3 4 5 6 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
Jói
erikwright: Review everything, please. tim: Please review the extracted interface and other refactorings to sync. ...
8 years, 3 months ago (2012-09-04 00:58:02 UTC) #1
erikwright (departed)
Why ProfileSyncServiceBase? Seems that the client doesn't care that it's associated with a profile. So ...
8 years, 3 months ago (2012-09-04 19:22:11 UTC) #2
tim (not reviewing)
On 2012/09/04 19:22:11, erikwright wrote: > Why ProfileSyncServiceBase? > > Seems that the client doesn't ...
8 years, 3 months ago (2012-09-04 19:31:10 UTC) #3
Jói
Hi Tim, Thanks for the feedback. This is part of the Browser Components work, see ...
8 years, 3 months ago (2012-09-04 19:58:53 UTC) #4
tim (not reviewing)
http://codereview.chromium.org/10910071/diff/8001/chrome/browser/api/DEPS File chrome/browser/api/DEPS (right): http://codereview.chromium.org/10910071/diff/8001/chrome/browser/api/DEPS#newcode31 chrome/browser/api/DEPS:31: "+sync/internal_api/public/base/model_type.h", Hm, so previously, the only thing that could ...
8 years, 3 months ago (2012-09-06 17:00:05 UTC) #5
Jói
Thanks Erik and Tim. I uploaded a new snapshot that addresses your review comments. Cheers, ...
8 years, 3 months ago (2012-09-06 20:08:34 UTC) #6
tim (not reviewing)
sync bits LGTM, thanks!
8 years, 3 months ago (2012-09-06 20:48:26 UTC) #7
Jói
Erik: LGTY?
8 years, 3 months ago (2012-09-11 19:13:54 UTC) #8
erikwright (departed)
LGTM.
8 years, 3 months ago (2012-09-11 19:29:52 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/10910071/12003
8 years, 3 months ago (2012-09-14 10:57:15 UTC) #10
commit-bot: I haz the power
Retried try job too often for step(s) crypto_unittests, unit_tests, cacheinvalidation_unittests, remoting_unittests, jingle_unittests, nacl_integration, ipc_tests, interactive_ui_tests, ...
8 years, 3 months ago (2012-09-14 11:03:04 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/10910071/16001
8 years, 3 months ago (2012-09-18 11:40:27 UTC) #12
commit-bot: I haz the power
Retried try job too often for step(s) unit_tests
8 years, 3 months ago (2012-09-18 12:33:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/10910071/16016
8 years, 3 months ago (2012-09-19 16:58:57 UTC) #14
commit-bot: I haz the power
8 years, 3 months ago (2012-09-19 17:46:12 UTC) #15
Change committed as 157563

Powered by Google App Engine
This is Rietveld 408576698