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

Issue 9169096: Remove a bunch of GetProfileSyncService callers to use the new factory. (Closed)

Created:
8 years, 11 months ago by tim (not reviewing)
Modified:
8 years, 11 months ago
CC:
chromium-reviews, GeorgeY, dbeam+watch-ntp_chromium.org, achuith+watch_chromium.org, nkostylev+watch_chromium.org, dhollowa+watch_chromium.org, stevenjb+watch_chromium.org, kkania, mihaip+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, robertshield, dyu1, estade+watch_chromium.org, Ilya Sherman, davemoore+watch_chromium.org
Visibility:
Public.

Description

Remove a bunch of GetProfileSyncService callers to use the new factory. This is mostly everything except code under /sync or sync_internals (those require a little more time as they have unit test implications). The ones here are quite simple but need several owner-approvals, and given the upcoming 18 branch I'd like to get this landed without a cross-team monday crunch :) TBR=jhawkins@chromium.org TBR=mirandac@chromium.org TBR=isherman@chromium.org TBR=nkostylev@chromium.org TBR=estade@chromium.org BUG=93922 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119482

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix tests + compile #

Total comments: 2

Patch Set 3 : rm todos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -86 lines) Patch
M chrome/browser/autofill/personal_data_manager.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/app_notify_channel_ui.cc View 1 2 4 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_webstore_private_api.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard_unittest.cc View 1 6 chunks +28 lines, -31 lines 0 comments Download
M chrome/browser/ui/auto_login_prompter.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 5 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 5 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/foreign_session_handler.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_login_handler.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/options_sync_setup_handler.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/personal_options_handler.cc View 4 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options/stop_syncing_handler.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options2/browser_options_handler2.cc View 4 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options2/options_sync_setup_handler2.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options2/stop_syncing_handler2.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sessions_ui.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
tim (not reviewing)
mihaip: Please review /extensions (note 'TODO(REVIEWERS)' question) atwilson: Please review everything. Everyone else, FYI georgey: ...
8 years, 11 months ago (2012-01-26 20:20:40 UTC) #1
Mihai Parparita -not on Chrome
http://codereview.chromium.org/9169096/diff/1/chrome/browser/extensions/app_notify_channel_ui.cc File chrome/browser/extensions/app_notify_channel_ui.cc (right): http://codereview.chromium.org/9169096/diff/1/chrome/browser/extensions/app_notify_channel_ui.cc#newcode128 chrome/browser/extensions/app_notify_channel_ui.cc:128: // TODO(REVIEWERS): Why does this not use OriginalProfile but ...
8 years, 11 months ago (2012-01-26 20:24:40 UTC) #2
sky
chrome/browser/ui LGTM
8 years, 11 months ago (2012-01-26 21:01:09 UTC) #3
Andrew T Wilson (Slow)
LGTM with some completely utterly ignorable nits (except for the compilation error). One thing I'll ...
8 years, 11 months ago (2012-01-26 23:09:09 UTC) #4
tim (not reviewing)
Fixed compile error and test failure (Drew, you should look at sync_setup_wizard_unittest again).
8 years, 11 months ago (2012-01-26 23:55:25 UTC) #5
Andrew T Wilson (Slow)
LGTM http://codereview.chromium.org/9169096/diff/6002/chrome/browser/sync/sync_setup_wizard_unittest.cc File chrome/browser/sync/sync_setup_wizard_unittest.cc (right): http://codereview.chromium.org/9169096/diff/6002/chrome/browser/sync/sync_setup_wizard_unittest.cc#newcode617 chrome/browser/sync/sync_setup_wizard_unittest.cc:617: f->GetForProfile(profile)->signin()->SetAuthenticatedUsername(kTestUser); BTW, you could glom this into one ...
8 years, 11 months ago (2012-01-27 00:22:40 UTC) #6
asargent_no_longer_on_chrome
chrome/browser/extensions/* LGTM http://codereview.chromium.org/9169096/diff/6002/chrome/browser/extensions/app_notify_channel_ui.cc File chrome/browser/extensions/app_notify_channel_ui.cc (right): http://codereview.chromium.org/9169096/diff/6002/chrome/browser/extensions/app_notify_channel_ui.cc#newcode128 chrome/browser/extensions/app_notify_channel_ui.cc:128: // TODO(REVIEWERS): Why does this not use ...
8 years, 11 months ago (2012-01-27 00:49:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/9169096/8001
8 years, 11 months ago (2012-01-27 01:25:38 UTC) #8
commit-bot: I haz the power
Presubmit check for 9169096-8001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 11 months ago (2012-01-27 01:25:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/9169096/8001
8 years, 11 months ago (2012-01-27 01:39:18 UTC) #10
tim (not reviewing)
On 2012/01/27 01:39:18, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
8 years, 11 months ago (2012-01-27 01:42:04 UTC) #11
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
8 years, 11 months ago (2012-01-27 06:03:05 UTC) #12
Dan Beam
you're gonna have to TBR estade or rbyers for New Tab Page specific changes, btw...
8 years, 11 months ago (2012-01-27 07:45:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/9169096/8001
8 years, 11 months ago (2012-01-27 17:50:37 UTC) #14
commit-bot: I haz the power
8 years, 11 months ago (2012-01-27 20:09:16 UTC) #15
Change committed as 119482

Powered by Google App Engine
This is Rietveld 408576698