[iOS][Signin] Use GoogleServiceAuthError in AccessTokenCallback [chromium/src : main]

0 views
Skip to first unread message

Boris Sazonov (Gerrit)

unread,
Apr 8, 2026, 4:30:23 AM (6 days ago) Apr 8
to Arnaud Yameogo, Boris Sazonov, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Arnaud Yameogo

Boris Sazonov added 2 comments

File ios/chrome/browser/signin/model/system_identity_manager.h
Line 98, Patchset 2 (Latest): base::OnceCallback<void(std::optional<AccessTokenInfo>,
GoogleServiceAuthError)>;
Boris Sazonov . unresolved

Would it be possible to use `base::expected<AccessTokenInfo, GoogleServiceAuthError>` instead?

Line 97, Patchset 2 (Latest): using AccessTokenCallbackWithAuthError =
Boris Sazonov . unresolved

It will be hard to rename this later (as it is used across public and internal repos). Would it be possible to use a shorter name instead (`AccessTokenRequestCallback`)? I don't think it's going to be an issue if we drop `WithAuthError` from the name - in the long run the callback with `NSError` will go away and there won't be any ambiguity.

Open in Gerrit

Related details

Attention is currently required from:
  • Arnaud Yameogo
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
Gerrit-Change-Number: 7734721
Gerrit-PatchSet: 2
Gerrit-Owner: Arnaud Yameogo <wendl...@google.com>
Gerrit-Reviewer: Arnaud Yameogo <wendl...@google.com>
Gerrit-Reviewer: Boris Sazonov <bsaz...@chromium.org>
Gerrit-Attention: Arnaud Yameogo <wendl...@google.com>
Gerrit-Comment-Date: Wed, 08 Apr 2026 08:30:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Arnaud Yameogo (Gerrit)

unread,
Apr 13, 2026, 4:27:57 AM (yesterday) Apr 13
to Boris Sazonov, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Boris Sazonov

Arnaud Yameogo added 2 comments

File ios/chrome/browser/signin/model/system_identity_manager.h
Line 98, Patchset 2: base::OnceCallback<void(std::optional<AccessTokenInfo>,
GoogleServiceAuthError)>;
Boris Sazonov . resolved

Would it be possible to use `base::expected<AccessTokenInfo, GoogleServiceAuthError>` instead?

Arnaud Yameogo

Done

Line 97, Patchset 2: using AccessTokenCallbackWithAuthError =
Boris Sazonov . resolved

It will be hard to rename this later (as it is used across public and internal repos). Would it be possible to use a shorter name instead (`AccessTokenRequestCallback`)? I don't think it's going to be an issue if we drop `WithAuthError` from the name - in the long run the callback with `NSError` will go away and there won't be any ambiguity.

Arnaud Yameogo

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Boris Sazonov
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: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
    Gerrit-Change-Number: 7734721
    Gerrit-PatchSet: 3
    Gerrit-Owner: Arnaud Yameogo <wendl...@google.com>
    Gerrit-Reviewer: Arnaud Yameogo <wendl...@google.com>
    Gerrit-Reviewer: Boris Sazonov <bsaz...@chromium.org>
    Gerrit-Attention: Boris Sazonov <bsaz...@chromium.org>
    Gerrit-Comment-Date: Mon, 13 Apr 2026 08:27:41 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Boris Sazonov <bsaz...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Samar Chehade (Gerrit)

    unread,
    Apr 13, 2026, 5:56:18 AM (yesterday) Apr 13
    to Arnaud Yameogo, Boris Sazonov, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Arnaud Yameogo and Boris Sazonov

    Samar Chehade added 3 comments

    Commit Message
    Line 13, Patchset 3 (Latest):The GoogleServiceAuthErrorFromError conversion method, currently in
    device_accounts_provider_impl.mm, will also be moved to ios_internal in
    a follow-up CL (https://crrev.com/i/9175936).
    Samar Chehade . unresolved

    Sorry if I missed something, why do we need to move this implementation ?

    Anything added in ios_internal becomes a pain to update so I would recommend only doing this if it is strictly necessary.

    File ios/chrome/browser/signin/model/system_identity_manager.h
    Line 208, Patchset 3 (Latest): // Asynchronously retrieves access tokens for `identity` with `scopes`. The
    // callback is invoked on the calling sequence when the operation completes.
    Samar Chehade . unresolved

    Should a TODO be added here to delete this method after launch?

    Line 96, Patchset 3 (Latest): // Same as 'AccessTokenCallback' but with GoogleServiceAuthError
    Samar Chehade . unresolved

    nit: When the feature flag is cleaned up, AccessTokenCallback will be deleted, won't it ? Just to make sure we don't forget to update it later, it might be worth adding a standalone comment here from the get-go.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Arnaud Yameogo
    • Boris Sazonov
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • 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: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
      Gerrit-Change-Number: 7734721
      Gerrit-PatchSet: 3
      Gerrit-Owner: Arnaud Yameogo <wendl...@google.com>
      Gerrit-Reviewer: Arnaud Yameogo <wendl...@google.com>
      Gerrit-Reviewer: Boris Sazonov <bsaz...@chromium.org>
      Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
      Gerrit-Attention: Arnaud Yameogo <wendl...@google.com>
      Gerrit-Attention: Boris Sazonov <bsaz...@chromium.org>
      Gerrit-Comment-Date: Mon, 13 Apr 2026 09:56:01 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Arnaud Yameogo (Gerrit)

      unread,
      Apr 13, 2026, 8:01:22 AM (yesterday) Apr 13
      to Samar Chehade, Boris Sazonov, chromiu...@luci-project-accounts.iam.gserviceaccount.com, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Boris Sazonov and Samar Chehade

      Arnaud Yameogo added 3 comments

      Commit Message
      Line 13, Patchset 3:The GoogleServiceAuthErrorFromError conversion method, currently in

      device_accounts_provider_impl.mm, will also be moved to ios_internal in
      a follow-up CL (https://crrev.com/i/9175936).
      Samar Chehade . unresolved

      Sorry if I missed something, why do we need to move this implementation ?

      Anything added in ios_internal becomes a pain to update so I would recommend only doing this if it is strictly necessary.

      Arnaud Yameogo

      The move is necessary for the case we have a mdm error: we will need to populate [IOSDeviceManagementErrorDetails](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/signin/model/ios_device_management_error_details.h?q=IOSDeviceManagementErrorDetails) using GCRDeviceService and some methods exposed from google3 so the conversion has to happen in ios_internal

      File ios/chrome/browser/signin/model/system_identity_manager.h
      Line 208, Patchset 3: // Asynchronously retrieves access tokens for `identity` with `scopes`. The

      // callback is invoked on the calling sequence when the operation completes.
      Samar Chehade . resolved

      Should a TODO be added here to delete this method after launch?

      Arnaud Yameogo
      Line 96, Patchset 3: // Same as 'AccessTokenCallback' but with GoogleServiceAuthError
      Samar Chehade . resolved

      nit: When the feature flag is cleaned up, AccessTokenCallback will be deleted, won't it ? Just to make sure we don't forget to update it later, it might be worth adding a standalone comment here from the get-go.

      Arnaud Yameogo

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Boris Sazonov
      • Samar Chehade
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • 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: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
      Gerrit-Change-Number: 7734721
      Gerrit-PatchSet: 4
      Gerrit-Owner: Arnaud Yameogo <wendl...@google.com>
      Gerrit-Reviewer: Arnaud Yameogo <wendl...@google.com>
      Gerrit-Reviewer: Boris Sazonov <bsaz...@chromium.org>
      Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
      Gerrit-Attention: Samar Chehade <samarc...@google.com>
      Gerrit-Attention: Boris Sazonov <bsaz...@chromium.org>
      Gerrit-Comment-Date: Mon, 13 Apr 2026 12:01:03 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Samar Chehade <samarc...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Boris Sazonov (Gerrit)

      unread,
      Apr 13, 2026, 12:32:21 PM (23 hours ago) Apr 13
      to Arnaud Yameogo, Boris Sazonov, Samar Chehade, chromiu...@luci-project-accounts.iam.gserviceaccount.com, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Arnaud Yameogo and Samar Chehade

      Boris Sazonov voted and added 4 comments

      Votes added by Boris Sazonov

      Code-Review+1

      4 comments

      Patchset-level comments
      File-level comment, Patchset 4 (Latest):
      Boris Sazonov . resolved

      LGTM % comments.

      File ios/chrome/browser/signin/model/system_identity_manager.h
      Line 222, Patchset 4 (Latest): AccessTokenRequestCallback callback) {}
      Boris Sazonov . unresolved

      Please add a TODO to make this method pure virtual after updating the internal implementation.

      Line 219, Patchset 4 (Latest): virtual void GetAccessToken(id<SystemIdentity> identity,
      Boris Sazonov . unresolved

      Add a comment to clarify what this does.

      Line 98, Patchset 4 (Latest): // Same as 'AccessTokenCallback' but with GoogleServiceAuthError
      Boris Sazonov . unresolved

      [Nit] This comment will need to be updated when `AccessTokenCallback` is deleted, please consider writing a proper comment for it now to simplify the future cleanup.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Arnaud Yameogo
      • Samar Chehade
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • 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: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
      Gerrit-Change-Number: 7734721
      Gerrit-PatchSet: 4
      Gerrit-Owner: Arnaud Yameogo <wendl...@google.com>
      Gerrit-Reviewer: Arnaud Yameogo <wendl...@google.com>
      Gerrit-Reviewer: Boris Sazonov <bsaz...@chromium.org>
      Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
      Gerrit-Attention: Arnaud Yameogo <wendl...@google.com>
      Gerrit-Attention: Samar Chehade <samarc...@google.com>
      Gerrit-Comment-Date: Mon, 13 Apr 2026 16:32:08 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Arnaud Yameogo (Gerrit)

      unread,
      4:36 AM (7 hours ago) 4:36 AM
      to Boris Sazonov, Samar Chehade, chromiu...@luci-project-accounts.iam.gserviceaccount.com, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Samar Chehade

      Arnaud Yameogo added 4 comments

      Commit Message
      Line 13, Patchset 3:The GoogleServiceAuthErrorFromError conversion method, currently in
      device_accounts_provider_impl.mm, will also be moved to ios_internal in
      a follow-up CL (https://crrev.com/i/9175936).
      Samar Chehade . resolved

      Sorry if I missed something, why do we need to move this implementation ?

      Anything added in ios_internal becomes a pain to update so I would recommend only doing this if it is strictly necessary.

      Arnaud Yameogo

      The move is necessary for the case we have a mdm error: we will need to populate [IOSDeviceManagementErrorDetails](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/signin/model/ios_device_management_error_details.h?q=IOSDeviceManagementErrorDetails) using GCRDeviceService and some methods exposed from google3 so the conversion has to happen in ios_internal

      Arnaud Yameogo

      Marked as resolved.

      File ios/chrome/browser/signin/model/system_identity_manager.h
      Line 222, Patchset 4: AccessTokenRequestCallback callback) {}
      Boris Sazonov . resolved

      Please add a TODO to make this method pure virtual after updating the internal implementation.

      Arnaud Yameogo
      Line 219, Patchset 4: virtual void GetAccessToken(id<SystemIdentity> identity,
      Boris Sazonov . resolved

      Add a comment to clarify what this does.

      Arnaud Yameogo

      Done

      Line 98, Patchset 4: // Same as 'AccessTokenCallback' but with GoogleServiceAuthError
      Boris Sazonov . resolved

      [Nit] This comment will need to be updated when `AccessTokenCallback` is deleted, please consider writing a proper comment for it now to simplify the future cleanup.

      Arnaud Yameogo

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Samar Chehade
      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: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
        Gerrit-Change-Number: 7734721
        Gerrit-PatchSet: 5
        Gerrit-Owner: Arnaud Yameogo <wendl...@google.com>
        Gerrit-Reviewer: Arnaud Yameogo <wendl...@google.com>
        Gerrit-Reviewer: Boris Sazonov <bsaz...@chromium.org>
        Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
        Gerrit-Attention: Samar Chehade <samarc...@google.com>
        Gerrit-Comment-Date: Tue, 14 Apr 2026 08:35:38 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Arnaud Yameogo <wendl...@google.com>
        Comment-In-Reply-To: Samar Chehade <samarc...@google.com>
        Comment-In-Reply-To: Boris Sazonov <bsaz...@chromium.org>
        satisfied_requirement
        open
        diffy

        Samar Chehade (Gerrit)

        unread,
        4:56 AM (7 hours ago) 4:56 AM
        to Arnaud Yameogo, Boris Sazonov, chromiu...@luci-project-accounts.iam.gserviceaccount.com, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
        Attention needed from Arnaud Yameogo

        Samar Chehade voted and added 2 comments

        Votes added by Samar Chehade

        Code-Review+1

        2 comments

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

        LGTM % comment.

        Commit Message
        Line 13, Patchset 3:The GoogleServiceAuthErrorFromError conversion method, currently in
        device_accounts_provider_impl.mm, will also be moved to ios_internal in
        a follow-up CL (https://crrev.com/i/9175936).
        Samar Chehade . unresolved

        Sorry if I missed something, why do we need to move this implementation ?

        Anything added in ios_internal becomes a pain to update so I would recommend only doing this if it is strictly necessary.

        Arnaud Yameogo

        The move is necessary for the case we have a mdm error: we will need to populate [IOSDeviceManagementErrorDetails](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/signin/model/ios_device_management_error_details.h?q=IOSDeviceManagementErrorDetails) using GCRDeviceService and some methods exposed from google3 so the conversion has to happen in ios_internal

        Arnaud Yameogo

        Marked as resolved.

        Samar Chehade

        Ideally we should have the minimum amount of code in ios_internal. If the conversion API is currently public then let's keep it that way and keep only the part of the conversion that calls the DeviceService in ios_internal.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Arnaud Yameogo
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • 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: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
          Gerrit-Change-Number: 7734721
          Gerrit-PatchSet: 5
          Gerrit-Owner: Arnaud Yameogo <wendl...@google.com>
          Gerrit-Reviewer: Arnaud Yameogo <wendl...@google.com>
          Gerrit-Reviewer: Boris Sazonov <bsaz...@chromium.org>
          Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
          Gerrit-Attention: Arnaud Yameogo <wendl...@google.com>
          Gerrit-Comment-Date: Tue, 14 Apr 2026 08:56:20 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Arnaud Yameogo (Gerrit)

          unread,
          8:54 AM (3 hours ago) 8:54 AM
          to Samar Chehade, Boris Sazonov, chromiu...@luci-project-accounts.iam.gserviceaccount.com, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

          Arnaud Yameogo added 1 comment

          Commit Message
          Line 13, Patchset 3:The GoogleServiceAuthErrorFromError conversion method, currently in
          device_accounts_provider_impl.mm, will also be moved to ios_internal in
          a follow-up CL (https://crrev.com/i/9175936).
          Samar Chehade . resolved

          Sorry if I missed something, why do we need to move this implementation ?

          Anything added in ios_internal becomes a pain to update so I would recommend only doing this if it is strictly necessary.

          Arnaud Yameogo

          The move is necessary for the case we have a mdm error: we will need to populate [IOSDeviceManagementErrorDetails](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/signin/model/ios_device_management_error_details.h?q=IOSDeviceManagementErrorDetails) using GCRDeviceService and some methods exposed from google3 so the conversion has to happen in ios_internal

          Arnaud Yameogo

          Marked as resolved.

          Samar Chehade

          Ideally we should have the minimum amount of code in ios_internal. If the conversion API is currently public then let's keep it that way and keep only the part of the conversion that calls the DeviceService in ios_internal.

          Arnaud Yameogo

          Marked as resolved.

          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: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
            Gerrit-Change-Number: 7734721
            Gerrit-PatchSet: 5
            Gerrit-Owner: Arnaud Yameogo <wendl...@google.com>
            Gerrit-Reviewer: Arnaud Yameogo <wendl...@google.com>
            Gerrit-Reviewer: Boris Sazonov <bsaz...@chromium.org>
            Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
            Gerrit-Comment-Date: Tue, 14 Apr 2026 12:54:14 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            open
            diffy

            Arnaud Yameogo (Gerrit)

            unread,
            8:54 AM (3 hours ago) 8:54 AM
            to Samar Chehade, Boris Sazonov, chromiu...@luci-project-accounts.iam.gserviceaccount.com, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

            Arnaud Yameogo 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: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
            Gerrit-Change-Number: 7734721
            Gerrit-PatchSet: 5
            Gerrit-Owner: Arnaud Yameogo <wendl...@google.com>
            Gerrit-Reviewer: Arnaud Yameogo <wendl...@google.com>
            Gerrit-Reviewer: Boris Sazonov <bsaz...@chromium.org>
            Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
            Gerrit-Comment-Date: Tue, 14 Apr 2026 12:54:30 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            open
            diffy

            chromium-scoped@luci-project-accounts.iam.gserviceaccount.com (Gerrit)

            unread,
            9:57 AM (2 hours ago) 9:57 AM
            to Arnaud Yameogo, Samar Chehade, Boris Sazonov, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

            chromiu...@luci-project-accounts.iam.gserviceaccount.com submitted the change

            Change information

            Commit message:
            [iOS][Signin] Use GoogleServiceAuthError in AccessTokenCallback

            This CL replaces NSError with GoogleServiceAuthError in the
            AccessTokenCallback and overloads the GetAccessToken method. The new
            implementation with the updated callback will be added in ios_internal.


            The GoogleServiceAuthErrorFromError conversion method, currently in
            device_accounts_provider_impl.mm, will also be moved to ios_internal in
            a follow-up CL (https://crrev.com/i/9175936).
            Bug: 500254507
            Change-Id: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
            Commit-Queue: Arnaud Yameogo <wendl...@google.com>
            Reviewed-by: Boris Sazonov <bsaz...@chromium.org>
            Reviewed-by: Samar Chehade <samarc...@google.com>
            Cr-Commit-Position: refs/heads/main@{#1614413}
            Files:
            • M ios/chrome/browser/signin/model/system_identity_manager.h
            Change size: S
            Delta: 1 file changed, 18 insertions(+), 0 deletions(-)
            Branch: refs/heads/main
            Submit Requirements:
            • requirement satisfiedCode-Review: +1 by Boris Sazonov, +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: I55ef75a095108c9e441fcd3c3f7a956ba4938f86
            Gerrit-Change-Number: 7734721
            Gerrit-PatchSet: 6
            Gerrit-Owner: Arnaud Yameogo <wendl...@google.com>
            Gerrit-Reviewer: Arnaud Yameogo <wendl...@google.com>
            Gerrit-Reviewer: Boris Sazonov <bsaz...@chromium.org>
            Gerrit-Reviewer: Samar Chehade <samarc...@google.com>
            open
            diffy
            satisfied_requirement
            Reply all
            Reply to author
            Forward
            0 new messages