[iOSImportPasswordsSafari] File import policy block error [chromium/src : main]

0 views
Skip to first unread message

Sourav Uttam Sinha (Gerrit)

unread,
Nov 10, 2025, 12:53:47 PM (2 days ago) Nov 10
to Ginny Huang, Tommy Martino, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Ginny Huang and Tommy Martino

Sourav Uttam Sinha added 2 comments

File ios/chrome/browser/data_import/ui/import_data_item_table_view.mm
Line 407, Patchset 9 (Latest): if (canImportSomething) {
[self initializeDataSource];
[self.importStageTransitionHandler transitionToNextImportStage];
} else if (anyTypeBlockedByPolicy) {
[self.importStageTransitionHandler
resetToInitialImportStage:DataImportResetReasonAllDataBlockedByPolicy];
} else {
[self.importStageTransitionHandler
resetToInitialImportStage:DataImportResetReasonNoImportableData];
}
Sourav Uttam Sinha . unresolved

@tmar...@chromium.org let me know if I should add comments or is it self-explanatory.

File ios/chrome/browser/safari_data_import/coordinator/safari_data_import_import_coordinator.mm
Line 281, Patchset 9 (Latest): alert.title = @"Import Not Allowed";
alert.message =
@"Importing this data is not allowed by your organization's policy.";
shouldRecordFailure = YES;
Sourav Uttam Sinha . resolved

@tmar...@chromium.org @ginny...@chromium.org strings will be localized once finalized.

Open in Gerrit

Related details

Attention is currently required from:
  • Ginny Huang
  • Tommy Martino
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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
Gerrit-Change-Number: 7133461
Gerrit-PatchSet: 9
Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
Gerrit-Attention: Ginny Huang <ginny...@chromium.org>
Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
Gerrit-Comment-Date: Mon, 10 Nov 2025 17:53:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Ginny Huang (Gerrit)

unread,
Nov 10, 2025, 3:12:59 PM (2 days ago) Nov 10
to Sourav Uttam Sinha, Tommy Martino, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Sourav Uttam Sinha and Tommy Martino

Ginny Huang voted and added 6 comments

Votes added by Ginny Huang

Code-Review+1

6 comments

Patchset-level comments
File-level comment, Patchset 10 (Latest):
Ginny Huang . resolved

Logic lgtm, but please take care of the readability nits if you aren't in a hurry of submission :)

File ios/chrome/browser/data_import/ui/import_data_item_table_view.mm
Line 395, Patchset 10 (Latest): BOOL canImportSomething = NO;
Ginny Huang . unresolved

Readability nit: `shouldInitiateImport`. Having "something" in a variable name makes it feel like pseudocode 😂

Line 403, Patchset 10 (Latest): canImportSomething = YES;
Ginny Huang . unresolved

Nit: add a `break` after this line. It seems that we only care about `blockedByPolicy` when this is false...

File ios/chrome/browser/safari_data_import/coordinator/safari_data_import_import_coordinator.mm
Line 171, Patchset 10 (Latest):- (UIAlertController*)errorAlert {
Ginny Huang . unresolved

I encourage you to remove the `errorAlert` property and turn this into a helper method that takes a `title` and a `message` instead 😊

The reason why it was originally a variable was because I thought I needed to call `weakSelf.errorAlert` in the dismiss handler. Turns out that it's not needed, which is why line 181 is now `handler:nil`.

Thanks!

Line 260, Patchset 10 (Latest): SafariDataImportStage currentStage = _containerViewController.importStage;
Ginny Huang . unresolved

`self.importStage` would return exactly the same thing. Why are you changing this part?

Line 281, Patchset 10 (Latest): alert.title = @"Import Not Allowed";
Ginny Huang . unresolved

If you are planning to land like this, add a TODO on the top showing that you are planning to replace this part and use L10n instead.

Open in Gerrit

Related details

Attention is currently required from:
  • Sourav Uttam Sinha
  • Tommy Martino
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not 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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
Gerrit-Change-Number: 7133461
Gerrit-PatchSet: 10
Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
Gerrit-Attention: Sourav Uttam Sinha <sinha...@google.com>
Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
Gerrit-Comment-Date: Mon, 10 Nov 2025 20:12:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Sourav Uttam Sinha (Gerrit)

unread,
Nov 10, 2025, 4:50:49 PM (2 days ago) Nov 10
to Ginny Huang, Tommy Martino, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Ginny Huang and Tommy Martino

Sourav Uttam Sinha added 5 comments

File ios/chrome/browser/data_import/ui/import_data_item_table_view.mm
Line 395, Patchset 10: BOOL canImportSomething = NO;
Ginny Huang . resolved

Readability nit: `shouldInitiateImport`. Having "something" in a variable name makes it feel like pseudocode 😂

Sourav Uttam Sinha

Done

Line 403, Patchset 10: canImportSomething = YES;
Ginny Huang . resolved

Nit: add a `break` after this line. It seems that we only care about `blockedByPolicy` when this is false...

Sourav Uttam Sinha

Done

File ios/chrome/browser/safari_data_import/coordinator/safari_data_import_import_coordinator.mm
Line 171, Patchset 10:- (UIAlertController*)errorAlert {
Ginny Huang . resolved

I encourage you to remove the `errorAlert` property and turn this into a helper method that takes a `title` and a `message` instead 😊

The reason why it was originally a variable was because I thought I needed to call `weakSelf.errorAlert` in the dismiss handler. Turns out that it's not needed, which is why line 181 is now `handler:nil`.

Thanks!

Sourav Uttam Sinha

Done

Line 260, Patchset 10: SafariDataImportStage currentStage = _containerViewController.importStage;
Ginny Huang . resolved

`self.importStage` would return exactly the same thing. Why are you changing this part?

Sourav Uttam Sinha

Correct! Changed it back

Line 281, Patchset 10: alert.title = @"Import Not Allowed";
Ginny Huang . resolved

If you are planning to land like this, add a TODO on the top showing that you are planning to replace this part and use L10n instead.

Sourav Uttam Sinha

I will be landing this CL once the strings are localized.

Open in Gerrit

Related details

Attention is currently required from:
  • Ginny Huang
  • Tommy Martino
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
    Gerrit-Change-Number: 7133461
    Gerrit-PatchSet: 11
    Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
    Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
    Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Ginny Huang <ginny...@chromium.org>
    Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
    Gerrit-Comment-Date: Mon, 10 Nov 2025 21:50:44 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Ginny Huang <ginny...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ginny Huang (Gerrit)

    unread,
    Nov 10, 2025, 8:48:19 PM (2 days ago) Nov 10
    to Sourav Uttam Sinha, Tommy Martino, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Sourav Uttam Sinha and Tommy Martino

    Ginny Huang added 4 comments

    File ios/chrome/browser/safari_data_import/coordinator/safari_data_import_import_coordinator.mm
    Line 62, Patchset 11 (Parent):
    /// Alert screen being displayed when the last selected file could not be
    /// processed or contains no valid items.
    Ginny Huang . unresolved

    My apologies this would be my fault... but would you mind updating this comment:

    /// Alert screen being displayed before dismissal, asking the user whether the imported file should be deleted.

    Line 244, Patchset 11 (Latest): BOOL shouldRecordFailure = NO;
    Ginny Huang . unresolved

    Do you really need this variable? Because it's always the same as `alert != nil` and so you can just keep checking the latter :)

    Line 272, Patchset 11 (Latest): BOOL success = [self presentViewController:alert];
    Ginny Huang . unresolved

    Don't capture `self` in a block :)

    Line 278, Patchset 11 (Latest): if (_containerViewController.presentedViewController &&
    !_containerViewController.presentedViewController.isBeingDismissed) {
    [_containerViewController
    dismissViewControllerAnimated:NO
    completion:presentAlertBlock];
    } else {
    Ginny Huang . unresolved

    This check does not exist previously. Can we remove it? If you think it's necessary we can add it in a follow up CL.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Sourav Uttam Sinha
    • Tommy Martino
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
    Gerrit-Change-Number: 7133461
    Gerrit-PatchSet: 11
    Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
    Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
    Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Sourav Uttam Sinha <sinha...@google.com>
    Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
    Gerrit-Comment-Date: Tue, 11 Nov 2025 01:48:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ginny Huang (Gerrit)

    unread,
    Nov 10, 2025, 8:48:51 PM (2 days ago) Nov 10
    to Sourav Uttam Sinha, Tommy Martino, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Sourav Uttam Sinha and Tommy Martino

    Ginny Huang added 1 comment

    File ios/chrome/browser/safari_data_import/coordinator/safari_data_import_import_coordinator.mm
    Line 272, Patchset 11 (Latest): BOOL success = [self presentViewController:alert];
    Ginny Huang . unresolved

    Don't capture `self` in a block :)

    Ginny Huang

    I'll lgtm once this is fixed

    Gerrit-Comment-Date: Tue, 11 Nov 2025 01:48:40 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Ginny Huang <ginny...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Tommy Martino (Gerrit)

    unread,
    Nov 11, 2025, 12:54:44 PM (yesterday) Nov 11
    to Sourav Uttam Sinha, Ginny Huang, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Sourav Uttam Sinha

    Tommy Martino added 3 comments

    Patchset-level comments
    File-level comment, Patchset 11 (Latest):
    Tommy Martino . resolved

    lgtm % outstanding comments

    File ios/chrome/browser/data_import/ui/data_import_import_stage_transition_handler.h
    Line 12, Patchset 10:typedef NS_ENUM(NSInteger, DataImportResetReason) {
    Tommy Martino . unresolved

    The Best Practices document prefers the use of `enum class` over `NS_ENUM`:

    go/bling-best-practices#ns-enum-vs-c-enums

    File ios/chrome/browser/data_import/ui/import_data_item_table_view.mm
    Line 407, Patchset 9: if (canImportSomething) {

    [self initializeDataSource];
    [self.importStageTransitionHandler transitionToNextImportStage];
    } else if (anyTypeBlockedByPolicy) {
    [self.importStageTransitionHandler
    resetToInitialImportStage:DataImportResetReasonAllDataBlockedByPolicy];
    } else {
    [self.importStageTransitionHandler
    resetToInitialImportStage:DataImportResetReasonNoImportableData];
    }
    Sourav Uttam Sinha . resolved

    @tmar...@chromium.org let me know if I should add comments or is it self-explanatory.

    Tommy Martino

    lgtm

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Sourav Uttam Sinha
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
    Gerrit-Change-Number: 7133461
    Gerrit-PatchSet: 11
    Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
    Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
    Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Sourav Uttam Sinha <sinha...@google.com>
    Gerrit-Comment-Date: Tue, 11 Nov 2025 17:54:37 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Sourav Uttam Sinha <sinha...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sourav Uttam Sinha (Gerrit)

    unread,
    10:06 AM (8 hours ago) 10:06 AM
    to Ginny Huang, Tommy Martino, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Ginny Huang and Tommy Martino

    Sourav Uttam Sinha added 5 comments

    File ios/chrome/browser/data_import/ui/data_import_import_stage_transition_handler.h
    Line 12, Patchset 10:typedef NS_ENUM(NSInteger, DataImportResetReason) {
    Tommy Martino . resolved

    The Best Practices document prefers the use of `enum class` over `NS_ENUM`:

    go/bling-best-practices#ns-enum-vs-c-enums

    Sourav Uttam Sinha

    Done

    File ios/chrome/browser/safari_data_import/coordinator/safari_data_import_import_coordinator.mm
    Line 62, Patchset 11 (Parent):
    /// Alert screen being displayed when the last selected file could not be
    /// processed or contains no valid items.
    Ginny Huang . resolved

    My apologies this would be my fault... but would you mind updating this comment:

    /// Alert screen being displayed before dismissal, asking the user whether the imported file should be deleted.

    Sourav Uttam Sinha

    Done

    Line 244, Patchset 11: BOOL shouldRecordFailure = NO;
    Ginny Huang . resolved

    Do you really need this variable? Because it's always the same as `alert != nil` and so you can just keep checking the latter :)

    Sourav Uttam Sinha

    Thanks for the suggestion!

    Line 272, Patchset 11: BOOL success = [self presentViewController:alert];
    Ginny Huang . resolved

    Don't capture `self` in a block :)

    Ginny Huang

    I'll lgtm once this is fixed

    Sourav Uttam Sinha

    Done

    Line 278, Patchset 11: if (_containerViewController.presentedViewController &&

    !_containerViewController.presentedViewController.isBeingDismissed) {
    [_containerViewController
    dismissViewControllerAnimated:NO
    completion:presentAlertBlock];
    } else {
    Ginny Huang . resolved

    This check does not exist previously. Can we remove it? If you think it's necessary we can add it in a follow up CL.

    Sourav Uttam Sinha

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ginny Huang
    • Tommy Martino
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
      Gerrit-Change-Number: 7133461
      Gerrit-PatchSet: 13
      Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
      Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
      Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
      Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
      Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
      Gerrit-Attention: Ginny Huang <ginny...@chromium.org>
      Gerrit-Comment-Date: Wed, 12 Nov 2025 15:06:37 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Tommy Martino <tmar...@chromium.org>
      Comment-In-Reply-To: Ginny Huang <ginny...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Ginny Huang (Gerrit)

      unread,
      11:29 AM (7 hours ago) 11:29 AM
      to Sourav Uttam Sinha, Tommy Martino, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Sourav Uttam Sinha and Tommy Martino

      Ginny Huang voted and added 1 comment

      Votes added by Ginny Huang

      Code-Review+1

      1 comment

      File ios/chrome/app/strings/ios_strings.grd
      Line 5732, Patchset 13 (Latest): Import Not Allowed
      Ginny Huang . unresolved

      Please double check that "Not Allowed" should be capitalized. IIRC our UXW team is moving away from title case, so maybe it should be "Import not allowed"

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Sourav Uttam Sinha
      • Tommy Martino
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement is not 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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
        Gerrit-Change-Number: 7133461
        Gerrit-PatchSet: 13
        Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
        Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
        Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
        Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
        Gerrit-Attention: Sourav Uttam Sinha <sinha...@google.com>
        Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
        Gerrit-Comment-Date: Wed, 12 Nov 2025 16:29:40 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Sourav Uttam Sinha (Gerrit)

        unread,
        1:46 PM (5 hours ago) 1:46 PM
        to Ginny Huang, Tommy Martino, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
        Attention needed from Ginny Huang and Tommy Martino

        Sourav Uttam Sinha added 1 comment

        File ios/chrome/app/strings/ios_strings.grd
        Line 5732, Patchset 13: Import Not Allowed
        Ginny Huang . resolved

        Please double check that "Not Allowed" should be capitalized. IIRC our UXW team is moving away from title case, so maybe it should be "Import not allowed"

        Sourav Uttam Sinha

        Fixed. Thanks!

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Ginny Huang
        • Tommy Martino
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement 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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
          Gerrit-Change-Number: 7133461
          Gerrit-PatchSet: 14
          Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
          Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
          Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
          Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
          Gerrit-Attention: Ginny Huang <ginny...@chromium.org>
          Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
          Gerrit-Comment-Date: Wed, 12 Nov 2025 18:46:30 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Ginny Huang <ginny...@chromium.org>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Ginny Huang (Gerrit)

          unread,
          1:53 PM (4 hours ago) 1:53 PM
          to Sourav Uttam Sinha, Tommy Martino, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
          Attention needed from Sourav Uttam Sinha and Tommy Martino

          Ginny Huang voted Code-Review+1

          Code-Review+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Sourav Uttam Sinha
          • Tommy Martino
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement satisfiedCode-Owners
            • requirement is not 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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
            Gerrit-Change-Number: 7133461
            Gerrit-PatchSet: 14
            Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
            Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
            Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
            Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
            Gerrit-Attention: Sourav Uttam Sinha <sinha...@google.com>
            Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
            Gerrit-Comment-Date: Wed, 12 Nov 2025 18:53:03 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Tommy Martino (Gerrit)

            unread,
            2:51 PM (4 hours ago) 2:51 PM
            to Sourav Uttam Sinha, Ginny Huang, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
            Attention needed from Sourav Uttam Sinha and Tommy Martino

            Tommy Martino voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Sourav Uttam Sinha
            • Tommy Martino
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement satisfiedCode-Owners
            • requirement is not 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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
            Gerrit-Change-Number: 7133461
            Gerrit-PatchSet: 13
            Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
            Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
            Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
            Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
            Gerrit-Attention: Sourav Uttam Sinha <sinha...@google.com>
            Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
            Gerrit-Comment-Date: Wed, 12 Nov 2025 19:51:20 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Tommy Martino (Gerrit)

            unread,
            3:44 PM (3 hours ago) 3:44 PM
            to Sourav Uttam Sinha, Ginny Huang, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
            Attention needed from Sourav Uttam Sinha

            Tommy Martino voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Sourav Uttam Sinha
            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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
              Gerrit-Change-Number: 7133461
              Gerrit-PatchSet: 14
              Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
              Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
              Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
              Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
              Gerrit-Attention: Sourav Uttam Sinha <sinha...@google.com>
              Gerrit-Comment-Date: Wed, 12 Nov 2025 20:44:14 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              open
              diffy

              Sourav Uttam Sinha (Gerrit)

              unread,
              3:44 PM (3 hours ago) 3:44 PM
              to Tommy Martino, Ginny Huang, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, srahim...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

              Sourav Uttam Sinha 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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
              Gerrit-Change-Number: 7133461
              Gerrit-PatchSet: 14
              Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
              Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
              Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
              Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
              Gerrit-Comment-Date: Wed, 12 Nov 2025 20:44:39 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              open
              diffy

              Chromium LUCI CQ (Gerrit)

              unread,
              3:56 PM (2 hours ago) 3:56 PM
              to Sourav Uttam Sinha, Tommy Martino, Ginny Huang, AyeAye, chromium...@chromium.org, srahim...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

              Chromium LUCI CQ submitted the change

              Change information

              Commit message:
              [iOSImportPasswordsSafari] File import policy block error

              Show a specific error message if a user tries to import a file, and all
              the data types found within that file are blocked by enterprise policy.

              This handles the case where the import option is available (because not
              all 4 data types are blocked), but the specific file's contents are
              fully restricted by policy.
              Bug: 459474801
              Change-Id: I6d4f818e3f9c317334700251ff2ae247d1581ad9
              Reviewed-by: Ginny Huang <ginny...@chromium.org>
              Reviewed-by: Tommy Martino <tmar...@chromium.org>
              Commit-Queue: Sourav Uttam Sinha <sinha...@google.com>
              Cr-Commit-Position: refs/heads/main@{#1543915}
              Files:
              • M ios/chrome/app/strings/ios_strings.grd
              • A ios/chrome/app/strings/ios_strings_grd/IDS_IOS_SAFARI_IMPORT_IMPORT_NOT_ALLOWED_MESSAGE.png.sha1
              • A ios/chrome/app/strings/ios_strings_grd/IDS_IOS_SAFARI_IMPORT_IMPORT_NOT_ALLOWED_TITLE.png.sha1
              • M ios/chrome/browser/data_import/ui/data_import_import_stage_transition_handler.h
              • M ios/chrome/browser/data_import/ui/import_data_item_table_view.mm
              • M ios/chrome/browser/safari_data_import/coordinator/safari_data_import_import_coordinator.mm
              • M ios/chrome/browser/safari_data_import/coordinator/safari_data_import_import_mediator.mm
              Change size: M
              Delta: 7 files changed, 97 insertions(+), 46 deletions(-)
              Branch: refs/heads/main
              Submit Requirements:
              • requirement satisfiedCode-Review: +1 by Tommy Martino, +1 by Ginny Huang
              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: I6d4f818e3f9c317334700251ff2ae247d1581ad9
              Gerrit-Change-Number: 7133461
              Gerrit-PatchSet: 15
              Gerrit-Owner: Sourav Uttam Sinha <sinha...@google.com>
              Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
              Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
              Gerrit-Reviewer: Sourav Uttam Sinha <sinha...@google.com>
              Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
              open
              diffy
              satisfied_requirement
              Reply all
              Reply to author
              Forward
              0 new messages