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

Issue 2920853004: [sync] Display an error when sync settings aren't confirmed (Closed)

Created:
3 years, 6 months ago by Patrick Noland
Modified:
3 years, 6 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, tfarina, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, mac-reviews_chromium.org, dbeam+watch-settings_chromium.org, srahim+watch_chromium.org, stevenjb+watch-md-settings_chromium.org, sync-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[sync] Display an error when sync settings aren't confirmed BUG=672225 R=skym@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2920853004 Cr-Commit-Position: refs/heads/master@{#478752} Committed: https://chromium.googlesource.com/chromium/src/+/0c1d266856c65b2c4238cd7dae00ebcd4cc7cb01

Patch Set 1 #

Total comments: 8

Patch Set 2 : Moved IsSyncConfirmationNeeded to PSS #

Patch Set 3 : Encapsulate second profile creation #

Patch Set 4 : set factories for second profile #

Patch Set 5 : fix compile #

Total comments: 2

Patch Set 6 : initialize button to nullptr #

Total comments: 2

Patch Set 7 : Fix double quote #

Total comments: 3

Patch Set 8 : Reformat, remove browser_options change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -29 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/sync_browser_proxy.js View 1 2 3 4 5 6 7 1 chunk +8 lines, -5 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.h View 1 3 chunks +13 lines, -9 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 1 3 chunks +28 lines, -8 lines 0 comments Download
M chrome/browser/sync/sync_ui_util_unittest.cc View 1 4 chunks +33 lines, -0 lines 0 comments Download
M chrome/browser/ui/avatar_button_error_controller.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm View 1 2 3 4 6 chunks +46 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm View 1 2 6 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 5 6 4 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/settings/people_handler.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/browser_sync/profile_sync_service.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/browser_sync/profile_sync_service.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M components/browser_sync/profile_sync_service_mock.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 63 (49 generated)
skym
lgtm https://codereview.chromium.org/2920853004/diff/1/chrome/browser/sync/sync_ui_util.cc File chrome/browser/sync/sync_ui_util.cc (right): https://codereview.chromium.org/2920853004/diff/1/chrome/browser/sync/sync_ui_util.cc#newcode340 chrome/browser/sync/sync_ui_util.cc:340: if (!status_label->empty()) First, what a function. Combines figuring ...
3 years, 6 months ago (2017-06-01 19:48:44 UTC) #4
Patrick Noland
+avi for browser/ui/cocoa/ +sky(Scott) for other browser/ui/ +tommycli for webui and resources PTAL https://codereview.chromium.org/2920853004/diff/1/chrome/browser/sync/sync_ui_util.cc File ...
3 years, 6 months ago (2017-06-07 19:07:23 UTC) #39
Avi (use Gerrit)
Those Cocoa files lgtm
3 years, 6 months ago (2017-06-07 19:24:39 UTC) #40
sky
https://codereview.chromium.org/2920853004/diff/510001/chrome/browser/ui/views/profiles/profile_chooser_view.h File chrome/browser/ui/views/profiles/profile_chooser_view.h (right): https://codereview.chromium.org/2920853004/diff/510001/chrome/browser/ui/views/profiles/profile_chooser_view.h#newcode181 chrome/browser/ui/views/profiles/profile_chooser_view.h:181: views::LabelButton* sync_error_settings_unconfirmed_button_; Don't you need to initialize this to ...
3 years, 6 months ago (2017-06-07 20:25:04 UTC) #41
Patrick Noland
PTAL https://codereview.chromium.org/2920853004/diff/510001/chrome/browser/ui/views/profiles/profile_chooser_view.h File chrome/browser/ui/views/profiles/profile_chooser_view.h (right): https://codereview.chromium.org/2920853004/diff/510001/chrome/browser/ui/views/profiles/profile_chooser_view.h#newcode181 chrome/browser/ui/views/profiles/profile_chooser_view.h:181: views::LabelButton* sync_error_settings_unconfirmed_button_; On 2017/06/07 20:25:04, sky wrote: > ...
3 years, 6 months ago (2017-06-08 18:47:02 UTC) #44
sky
LGTM
3 years, 6 months ago (2017-06-08 21:23:02 UTC) #47
Patrick Noland
tommycli@, friendly ping. PTAL?
3 years, 6 months ago (2017-06-12 18:35:12 UTC) #48
tommycli
lgtm. apologies for the delay here. https://codereview.chromium.org/2920853004/diff/530001/chrome/browser/resources/settings/people_page/sync_browser_proxy.js File chrome/browser/resources/settings/people_page/sync_browser_proxy.js (right): https://codereview.chromium.org/2920853004/diff/530001/chrome/browser/resources/settings/people_page/sync_browser_proxy.js#newcode43 chrome/browser/resources/settings/people_page/sync_browser_proxy.js:43: CONFIRM_SYNC_SETTINGS: "confirmSyncSettings", nit: ...
3 years, 6 months ago (2017-06-12 18:41:01 UTC) #49
Patrick Noland
https://codereview.chromium.org/2920853004/diff/530001/chrome/browser/resources/settings/people_page/sync_browser_proxy.js File chrome/browser/resources/settings/people_page/sync_browser_proxy.js (right): https://codereview.chromium.org/2920853004/diff/530001/chrome/browser/resources/settings/people_page/sync_browser_proxy.js#newcode43 chrome/browser/resources/settings/people_page/sync_browser_proxy.js:43: CONFIRM_SYNC_SETTINGS: "confirmSyncSettings", On 2017/06/12 18:41:01, tommycli wrote: > nit: ...
3 years, 6 months ago (2017-06-12 18:44:30 UTC) #50
tommycli
https://codereview.chromium.org/2920853004/diff/550001/chrome/browser/resources/settings/people_page/sync_browser_proxy.js File chrome/browser/resources/settings/people_page/sync_browser_proxy.js (right): https://codereview.chromium.org/2920853004/diff/550001/chrome/browser/resources/settings/people_page/sync_browser_proxy.js#newcode45 chrome/browser/resources/settings/people_page/sync_browser_proxy.js:45: CONFIRM_SYNC_SETTINGS: 'confirmSyncSettings', Nit again: Looking above at SIGNOUT_AND_SIGNIN, it ...
3 years, 6 months ago (2017-06-12 18:47:00 UTC) #51
tommycli
https://codereview.chromium.org/2920853004/diff/550001/chrome/browser/resources/settings/people_page/sync_browser_proxy.js File chrome/browser/resources/settings/people_page/sync_browser_proxy.js (right): https://codereview.chromium.org/2920853004/diff/550001/chrome/browser/resources/settings/people_page/sync_browser_proxy.js#newcode45 chrome/browser/resources/settings/people_page/sync_browser_proxy.js:45: CONFIRM_SYNC_SETTINGS: 'confirmSyncSettings', On 2017/06/12 18:47:00, tommycli wrote: > Nit ...
3 years, 6 months ago (2017-06-12 18:47:23 UTC) #52
Patrick Noland
https://codereview.chromium.org/2920853004/diff/550001/chrome/browser/resources/settings/people_page/sync_browser_proxy.js File chrome/browser/resources/settings/people_page/sync_browser_proxy.js (right): https://codereview.chromium.org/2920853004/diff/550001/chrome/browser/resources/settings/people_page/sync_browser_proxy.js#newcode45 chrome/browser/resources/settings/people_page/sync_browser_proxy.js:45: CONFIRM_SYNC_SETTINGS: 'confirmSyncSettings', On 2017/06/12 18:47:23, tommycli wrote: > On ...
3 years, 6 months ago (2017-06-12 18:55:54 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2920853004/570001
3 years, 6 months ago (2017-06-12 19:10:57 UTC) #56
commit-bot: I haz the power
3 years, 6 months ago (2017-06-12 20:49:46 UTC) #59
Message was sent while issue was closed.
Committed patchset #12 (id:570001) as
https://chromium.googlesource.com/chromium/src/+/0c1d266856c65b2c4238cd7dae00...

Powered by Google App Engine
This is Rietveld 408576698