[Extensions][Al] Add extensions checkbox to signout dialog when relevant [chromium/src : main]

0 views
Skip to first unread message

Sophie Crowley (Gerrit)

unread,
8:55 AM (3 hours ago) 8:55 AM
to Samar Chehade, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org
Attention needed from Samar Chehade

Sophie Crowley added 5 comments

Commit Message
Line 7, Patchset 20:[Extensions][Al] Add checkbox to signout dialog to remove extensions
Samar Chehade . resolved

I'm not sure this is exactly what we want to do. In this CL, the logic on whether or not to display the signout confirmation dialog doesn't change, you're just changing what this dialog looks like (and adding some functionality).

What we want is to display this dialog regardless of where the user signs out from and if they have account extensions (regardless of other data types). I don't think this CL displays the dialog when we need it.

Sophie Crowley

Have created follow-up CL to handle making sure the dialog box shows up when we need it to (https://crrev.com/c/8034087) and have updated the description for this CL to be more accurate. Thank you!

Line 21, Patchset 20:Bug: 502977184
Samar Chehade . resolved

If you tested this manually, would you mind uploading a screenshot to the bug ?

Sophie Crowley

Done + added link to description -- Thanks!

File chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/SignOutCoordinator.java
Line 274, Patchset 20: UiState.SNACK_BAR,
UiState.UNSAVED_DATA,
UiState.SHOW_CONFIRM_DIALOG,
Samar Chehade . resolved

Following up on our offline discussion : it might end up being easier/more readable to create an entirely new dialog, rather than updating the existing one. In that case you would need to create a new UiState enum value here.

Sophie Crowley

Resolving as choosing to include the checkbox in existing dialogs rather than creating new ones, now that we got confirmation that we can re-use the same text etc.

Line 379, Patchset 20: : "")
Samar Chehade . resolved

Will this still display the checkbox but with no text? Maybe we shouldn't add a checkbox at all when there are no account extensions ?

Sophie Crowley
File chrome/browser/ui/android/strings/android_chrome_strings.grd
Line 2383, Patchset 20: After you sign out, your bookmarks, passwords, and more in your Google Account will be removed from this device.
Samar Chehade . resolved

This will be the main text of the dialog box but it isn't exactly the same as the string displayed on Desktop. Can you double-check with Martin which one we actually want ?

Sophie Crowley

Double checked -- we are okay to go with the existing Android sign out confirmation strings for now.

Open in Gerrit

Related details

Attention is currently required from:
  • Samar Chehade
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I3dd2bfb8f633feb4d563ba882c4013d03171b6aa
Gerrit-Change-Number: 8029985
Gerrit-PatchSet: 26
Gerrit-Owner: Sophie Crowley <crow...@google.com>
Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
Gerrit-Reviewer: Sophie Crowley <crow...@google.com>
Gerrit-Attention: Samar Chehade <samarc...@google.com>
Gerrit-Comment-Date: Wed, 08 Jul 2026 12:55:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Samar Chehade <samarc...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Samar Chehade (Gerrit)

unread,
9:40 AM (3 hours ago) 9:40 AM
to Sophie Crowley, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org
Attention needed from Sophie Crowley

Samar Chehade added 1 comment

Patchset-level comments
File-level comment, Patchset 26 (Latest):
Samar Chehade . resolved

LGTM, thanks for answering all my questions!

Open in Gerrit

Related details

Attention is currently required from:
  • Sophie Crowley
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I3dd2bfb8f633feb4d563ba882c4013d03171b6aa
Gerrit-Change-Number: 8029985
Gerrit-PatchSet: 26
Gerrit-Owner: Sophie Crowley <crow...@google.com>
Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
Gerrit-Reviewer: Sophie Crowley <crow...@google.com>
Gerrit-Attention: Sophie Crowley <crow...@google.com>
Gerrit-Comment-Date: Wed, 08 Jul 2026 13:40:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Samar Chehade (Gerrit)

unread,
9:40 AM (3 hours ago) 9:40 AM
to Sophie Crowley, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org
Attention needed from Sophie Crowley

Samar Chehade voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Sophie Crowley
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I3dd2bfb8f633feb4d563ba882c4013d03171b6aa
Gerrit-Change-Number: 8029985
Gerrit-PatchSet: 26
Gerrit-Owner: Sophie Crowley <crow...@google.com>
Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
Gerrit-Reviewer: Sophie Crowley <crow...@google.com>
Gerrit-Attention: Sophie Crowley <crow...@google.com>
Gerrit-Comment-Date: Wed, 08 Jul 2026 13:40:39 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Sophie Crowley (Gerrit)

unread,
9:47 AM (2 hours ago) 9:47 AM
to Samar Chehade, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org

Sophie Crowley voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I3dd2bfb8f633feb4d563ba882c4013d03171b6aa
Gerrit-Change-Number: 8029985
Gerrit-PatchSet: 26
Gerrit-Owner: Sophie Crowley <crow...@google.com>
Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
Gerrit-Reviewer: Sophie Crowley <crow...@google.com>
Gerrit-Comment-Date: Wed, 08 Jul 2026 13:46:44 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
9:55 AM (2 hours ago) 9:55 AM
to Sophie Crowley, Samar Chehade, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, srahim...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
[Extensions][Al] Add extensions checkbox to signout dialog when relevant

When a user signs out of their primary account, they should have the
option to remove extensions that specifically associated with that
account. This CL updates SignOutCoordinator to, when a signout
confirmation dialog is shown, include a checkbox offering the option to
uninstall extensions if the signed-in account has any. If the user
selects this checkbox, it updates SigninManager to ensure the extensions
are uninstalled during the next sign-out operation.

(There was a lot of code duplication in the tests added for this
behavior so separated this out into its own helper functions for all
tests)

Example screenshot: https://crbug.com/502977184#comment18
Change-Id: I3dd2bfb8f633feb4d563ba882c4013d03171b6aa
Bug: 502977184
Reviewed-by: Samar Chehade <samarc...@google.com>
Commit-Queue: Sophie Crowley <crow...@google.com>
Cr-Commit-Position: refs/heads/main@{#1658708}
Files:
  • M chrome/browser/signin/services/android/java/src/org/chromium/chrome/browser/signin/services/SigninManager.java
  • M chrome/browser/signin/services/android/java/src/org/chromium/chrome/browser/signin/services/SigninManagerImpl.java
  • M chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/SignOutCoordinator.java
  • M chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/SignOutCoordinatorTest.java
  • M chrome/browser/ui/android/strings/android_chrome_strings.grd
  • A chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_SIGN_OUT_REMOVE_EXTENSIONS_MESSAGE.png.sha1
Change size: M
Delta: 6 files changed, 118 insertions(+), 91 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Samar Chehade
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I3dd2bfb8f633feb4d563ba882c4013d03171b6aa
Gerrit-Change-Number: 8029985
Gerrit-PatchSet: 27
Gerrit-Owner: Sophie Crowley <crow...@google.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
Gerrit-Reviewer: Sophie Crowley <crow...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages